diff --git a/ccp/js/executionhistorycontroller.js b/ccp/js/executionhistorycontroller.js index 58809f6..01e6b12 100644 --- a/ccp/js/executionhistorycontroller.js +++ b/ccp/js/executionhistorycontroller.js @@ -496,8 +496,10 @@ class CCPExecutionHistory extends HTMLElement { this.export(id, "application/prov-o+xml", id + ".xml") } if(ev.target.getAttribute("name") === "reexecute1"){ - const id = ev.currentTarget.getAttribute("data-index") - this.reexecute(id, 1) + 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?")){