diff --git a/js/documents.js b/js/documents.js index 65b0b2dd..4644c953 100644 --- a/js/documents.js +++ b/js/documents.js @@ -312,9 +312,6 @@ var documentsMain = { prepareSession : function(){ documentsMain.isEditorMode = true; documentsMain.overlay.documentOverlay('show'); - $(window).on('beforeunload', function(){ - return t('richdocuments', "Leaving this page in Editor mode might cause unsaved data. It is recommended to use 'Close' button instead."); - }); $(window).on("unload", documentsMain.onTerminate); },