Skip to content

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

Open
olivier-nolbert wants to merge 1 commit intoOctopoos:masterfrom
Agence-DBCOM:fix-field-button_free-href-if-process
Open

To avoid "document.location.href='" & "'" to be added over javascript…#771
olivier-nolbert wants to merge 1 commit intoOctopoos:masterfrom
Agence-DBCOM:fix-field-button_free-href-if-process

Conversation

@olivier-nolbert
Copy link
Copy Markdown
Contributor

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.

… code if we choose a process task for the button free
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant