System hung up if we call external site Java Script file
Steps to Reproduce
- Include the below third-party script in the UserWorkForm.
- Create a label and paste the below script on the label.
<button id="ot-sdk-btn" class="ot-sdk-show-settings">Do Not Sell My personal Information</button>
- Click the button at runtime.
An issue in the custom application code or rules.
A button was configured to display the third-party script's popup. In Pega, for every button element, Pega assigned a Listener by default and submitted the page on click of the button. In this usecase, on click of the label, the popup for the third-party displayed first and then the page is submitted. As a result, the screen reload occurred.
Perform the following local-change:
Use a DIV element in the label, instead of a button.
0% found this useful