Suppressing Warning on Refresh

Posted by Community Admin on 04-Aug-2018 18:51

Suppressing Warning on Refresh

All Replies

Posted by Community Admin on 31-Jul-2012 00:00
We have a widget that modifies data in the page_node table, and were seeing that it wasn't refreshing properly to include the new title of the page. The thought was refreshing the page would do the trick, and it does, but before the page actually refreshes you get the standard "This page is asking you to confirm that you want to leave - data you have entered may not be saved." popup.

The data saves fine when you click "Leave This Page", but it is confusing our users. My question is: is it possible to suppress this warning on a small scale? Specifically, it would be in the control designer of a widget, so it would be in that particular designer's javascript file.

Thanks,
Chris
Posted by Community Admin on 01-Aug-2012 00:00
Never mind, we were able to get around this with some Javascript trickery.

Thanks,
Chris
This thread is closed