diff --git a/ccp/js/executionformcontroller.js b/ccp/js/executionformcontroller.js index 014c3b0..6270cc2 100644 --- a/ccp/js/executionformcontroller.js +++ b/ccp/js/executionformcontroller.js @@ -406,7 +406,7 @@ class CCPExecutionForm extends HTMLElement{ }, { target: "a[name=direct_link_method]", - apply : (e,d)=>e.href = e.textContent = window.location.origin + window.location.path + "?method=" + d.id + apply : (e,d)=>e.href = e.textContent = window.location.origin + window.location.pathname + "?method=" + d.id } ] } diff --git a/ccp/js/executionhistorycontroller.js b/ccp/js/executionhistorycontroller.js index a1fd1cc..5b9f544 100644 --- a/ccp/js/executionhistorycontroller.js +++ b/ccp/js/executionhistorycontroller.js @@ -119,7 +119,7 @@ class CCPExecutionHistory extends HTMLElement { -
+
@@ -667,7 +668,7 @@ class CCPExecutionHistory extends HTMLElement { }, { target : "a[name=direct_link_execution]", - apply : (e,d)=>e.href = e.textContent = window.location.origin + window.location.path + "?execution=" + d.id + apply : (e,d)=>e.href = e.textContent = window.location.origin + window.location.pathname + "?execution=" + d.id }, { target : "div[name=logterminalcontainer]",