Keymaster
1 year, 4 months ago
#43690
::
Hi Leonid,
please have a look at this example:
https://demo.simplifier.io/appDirect/RefreshDemo/index.html?sap-ui-debug=RefreshDemo
I subscribed to the onBeforeFirstShow Event and added a script block with the following code:
window.onbeforeunload = function() { return "Data will be lost if you leave the page, are you sure?"; };
-
This reply was modified 1 year, 4 months ago by
Chris Bouveret.