added confirmation dialog for re-execution
This commit is contained in:
parent
8231178cba
commit
a387ffb913
|
@ -496,8 +496,10 @@ class CCPExecutionHistory extends HTMLElement {
|
||||||
this.export(id, "application/prov-o+xml", id + ".xml")
|
this.export(id, "application/prov-o+xml", id + ".xml")
|
||||||
}
|
}
|
||||||
if(ev.target.getAttribute("name") === "reexecute1"){
|
if(ev.target.getAttribute("name") === "reexecute1"){
|
||||||
const id = ev.currentTarget.getAttribute("data-index")
|
if(window.confirm("Please confirm re-execution?")){
|
||||||
this.reexecute(id, 1)
|
const id = ev.currentTarget.getAttribute("data-index")
|
||||||
|
this.reexecute(id, 1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(ev.target.getAttribute("name") === "archive"){
|
if(ev.target.getAttribute("name") === "archive"){
|
||||||
if(confirm(" Please confirm aarchiving of execution to workspace?")){
|
if(confirm(" Please confirm aarchiving of execution to workspace?")){
|
||||||
|
|
Loading…
Reference in New Issue