Support Article
Popup is visible in the review Harness
SA-24894
Summary
When the user clicks the close button, a confirm popup appears . The popup will show 'you are about to close an open work item which has changes that have not been saved' when trying to edit the form in review harness.
Error Messages
Not Applicable.
Steps to Reproduce
- Create a repeat grid. Place it in a section and configure it to be opened as popup on click,make it editable.
- Place the section inside a review harness.
- Have a close button to close the current tab.
- Navigate to other tabs in the review harness and come back to the grid and close the tab.
Root Cause
The page is getting dirty on navigation.
Resolution
Apply the local changes :
1.<script>
pega.u.d.gDirtyOverride=false;
</script>
(OR)
2. Add the following function to UserWorkForm
function clearDirtyOverRide() {
pega.u.d.gDirtyOverride = false;
return;
}
Published June 30, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.