Commit eede8e92 authored by Frank Bergmann's avatar Frank Bergmann

- Added WindowUnload protection before moving away

parent e7ceb11a
......@@ -195,3 +195,10 @@ Ext.define('PO.controller.ResizeController', {
if (me.debug) console.log('PO.controller.gantt_editor.GanttResizeController.onSwitchBackFromFullScreen: Finished');
}
});
// Popup window before leaving the page
window.onbeforeunload = function() {
return "Are you sure you want to navigate away?";
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment