This content has been marked as final. Show 1 reply
Hi Rizwan & Mark,
Sorry for a late reply, trouble with notifications...
The problem here is that the script is called from the web page just before closing it and applet doesn't have an option to stop page from closing anyway, that's why 'cancel' option is not correct in this context.
saveModifiedMarkups() method has 2 variations, you need to call the one that takes 'mayCancel' parameter and set it to false.
In that case the prompt will only have two options: 'yes' and 'no'.
So your function will look like this:
Please let me know if you have any farther questions related to this...