Suppressing Warning on Refresh
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
Never mind, we were able to get around this with some Javascript trickery.
Thanks,
Chris