SEBLOD icon indicating copy to clipboard operation
SEBLOD copied to clipboard

To avoid "document.location.href='" & "'" to be added over javascript…

Open olivier-nolbert opened this issue 2 years ago • 0 comments

Issue : When we configure the button free to preform a task and call a process, the javascript code is encapsuled in a 'document.location.href' which avoids the button to work.

Fix : Add a test to check if there's a "javascript" string in the link. No : add the 'document.location.href', Yes : Just set the link as it is.

olivier-nolbert avatar Oct 11 '23 13:10 olivier-nolbert