show place holder instead of full link

This commit is contained in:
dcore94 2024-04-09 13:22:14 +02:00
parent f8902077ec
commit ff613b70c2
2 changed files with 2 additions and 2 deletions

View File

@ -429,7 +429,7 @@ class CCPExecutionForm extends HTMLElement{
}, },
{ {
target: "a[name=direct_link_method]", 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
} }
] ]
} }

View File

@ -667,7 +667,7 @@ class CCPExecutionHistory extends HTMLElement {
}, },
{ {
target : "a[name=direct_link_execution]", 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]", target : "div[name=logterminalcontainer]",