Support Article
Showing the save confirm message on read only screen
SA-22569
Summary
System is showing "You are about to close an open work item which has changes that have not been saved." message in screen even if users are opening the WorkObject in review mode /don't make any changes and close it. User is requesting to suppress this popup.
Error Messages
"You are about to close an open work item which has changes that have not been saved" pop up.
Steps to Reproduce
- Open any workitem from Search (even a resolved item)
- Click on link ( this opens a Model window) and then close the the model window
- Try to close (X Out) the workobject tab. Observe the message.
- In few cases when user clicking on Discard / Save it is clearing off the contents in the screen but the tab is not closing.
Root Cause
No root cause available.
Resolution
Perform the following local-change:
Include the below code in UserWorkForm rule
<script>
pega.u.d.gDirtyOverride=false;
</script>
Published April 27, 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.