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