Question

4
Replies
821
Views
SriRaghavB Member since 2015 2 posts
National Express
Posted: 5 years ago
Last activity: 3 years 5 months ago
Closed
Solved

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 Interface
Moderation Team has archived post
Share this page LinkedIn