diff --git a/ccp/js/executionformcontroller.js b/ccp/js/executionformcontroller.js index ca9658c..01975a7 100644 --- a/ccp/js/executionformcontroller.js +++ b/ccp/js/executionformcontroller.js @@ -33,7 +33,8 @@ class CCPExecutionForm extends HTMLElement{ connectNewExecutionRequest(){ document.addEventListener("newexecutionrequest", ev=>{ if(window.confirm("Confirm overwrite of execution form?")){ - this.setAttribute("method", ev.detail) + this.setAttribute("method", ev.detail) + this.parentElement.scrollIntoViewIfNeeded() } }) }