Multiple Submits result in a Red X
The user's application has a listView. The listView has singleClick and doubleClick functions defined. singleClick updates only the clipboard, while doubleClick updates the clipboard and also submits a form. A red "X" appeared and the listView was broken for some use cases.
Steps to Reproduce
Double click one row, and quickly double click on the same or another row.
Single click and Submit. Double click immediately on any rows in the listView.
The environment is very slow. As a result, even after adding busy indicator with zero interval, there is time for multiple clicks.
Perform the following local-change:
/* Below function was added to be called whenever Submit button (using pxButton==>RunScript ) is being called. */
pega.u.d.gBusyInd.busyIndInterval = 0;
0% found this useful