This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//window.onbeforeunload = confirmExit; | |
/* The below will not run unless the above is uncommented. | |
* The recommendation is to run the above command in a | |
* dynamic action on page load of Page 0 with the Server | |
* Side Condition of 'Rows returned' for the following query: | |
* select 1 | |
* from apex_application_pages | |
* where application_id = :APP_ID | |
* and page_id = :APP_PAGE_ID | |
* and warn_on_unsaved_changes = 'Yes' |