Question
National Express
US
Last activity: 18 Jul 2017 10:42 EDT
How to "Force Close" all Tabs ?
Below is the screenshot which show the pop up message when I try to close all documents.
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.