From ff613b70c24e5693c4d2ed9721e5c62e0576dd9c Mon Sep 17 00:00:00 2001 From: dcore94 Date: Tue, 9 Apr 2024 13:22:14 +0200 Subject: [PATCH] show place holder instead of full link --- ccp/js/executionformcontroller.js | 2 +- ccp/js/executionhistorycontroller.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ccp/js/executionformcontroller.js b/ccp/js/executionformcontroller.js index a2ccaeb..323df50 100644 --- a/ccp/js/executionformcontroller.js +++ b/ccp/js/executionformcontroller.js @@ -429,7 +429,7 @@ class CCPExecutionForm extends HTMLElement{ }, { target: "a[name=direct_link_method]", - apply : (e,d)=>e.href = e.textContent = window.location.origin + window.location.pathname + "?method=" + d.id + apply : (e,d)=>e.href = window.location.origin + window.location.pathname + "?method=" + d.id } ] } diff --git a/ccp/js/executionhistorycontroller.js b/ccp/js/executionhistorycontroller.js index ec5690b..0e283d8 100644 --- a/ccp/js/executionhistorycontroller.js +++ b/ccp/js/executionhistorycontroller.js @@ -667,7 +667,7 @@ class CCPExecutionHistory extends HTMLElement { }, { target : "a[name=direct_link_execution]", - apply : (e,d)=>e.href = e.textContent = window.location.origin + window.location.pathname + "?execution=" + d.id + apply : (e,d)=>e.href = window.location.origin + window.location.pathname + "?execution=" + d.id }, { target : "div[name=logterminalcontainer]",