From 3a8572da3774a958b047e7ab66492187ed8f0ab1 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Mon, 28 Oct 2013 16:46:57 +0300 Subject: [PATCH] Defer documents reload --- js/documents.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/documents.js b/js/documents.js index 3b4d673c..3984b86d 100644 --- a/js/documents.js +++ b/js/documents.js @@ -246,8 +246,6 @@ var documentsMain = { $(window).off('beforeunload'); parent.location.hash = ""; - documentsMain.show(); - documentsMain.webodfEditorInstance.endEditing(); documentsMain.webodfEditorInstance.close(function() { // successfull shutdown - all is good. @@ -258,7 +256,7 @@ var documentsMain = { $('header,footer').show(); } documentsMain.webodfEditorInstance.destroy(documentsMain.UI.hideEditor); - + documentsMain.show(); // }); }); },