Defer documents reload
This commit is contained in:
parent
e3f26447c1
commit
3a8572da37
@ -246,8 +246,6 @@ var documentsMain = {
|
|||||||
$(window).off('beforeunload');
|
$(window).off('beforeunload');
|
||||||
parent.location.hash = "";
|
parent.location.hash = "";
|
||||||
|
|
||||||
documentsMain.show();
|
|
||||||
|
|
||||||
documentsMain.webodfEditorInstance.endEditing();
|
documentsMain.webodfEditorInstance.endEditing();
|
||||||
documentsMain.webodfEditorInstance.close(function() {
|
documentsMain.webodfEditorInstance.close(function() {
|
||||||
// successfull shutdown - all is good.
|
// successfull shutdown - all is good.
|
||||||
@ -258,7 +256,7 @@ var documentsMain = {
|
|||||||
$('header,footer').show();
|
$('header,footer').show();
|
||||||
}
|
}
|
||||||
documentsMain.webodfEditorInstance.destroy(documentsMain.UI.hideEditor);
|
documentsMain.webodfEditorInstance.destroy(documentsMain.UI.hideEditor);
|
||||||
|
documentsMain.show();
|
||||||
// });
|
// });
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user