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.
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.