Close popover
Sri Raghav Bobbili (SriRaghavB)
National Express

National Express
SriRaghavB Member since 2015 2 posts
National Express
Posted: June 24, 2015
Last activity: July 18, 2017

How to "Force Close" all Tabs ?

Below is the screenshot which show the pop up message when I try to close all documents.

force close.jpg

When I perform any action in the tab, and on Change of the drop down (highlighted in Red in screenshot) value, the property “pyWarndirty” is being set to true. Is there is way to set it false so that we don’t see the pop up and the tabs are closed always.

The requirement is to force close the documents, and start everything new, every time on change of the dropdown.

The script I am using, is as follows:

pega.u.d.gDirtyOverride=false; // I am trying to set the Dirty flag to false, but it is not overriding.

pega.desktop.closeAllDocuments(e); // to close all tabs.

Any suggestions will be greatly appreciated. Thank you!***Updated by moderator: Lochan to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

User Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.