client: remove onBeforeUnload in diagram editor

This commit is contained in:
fantasticit 2022-05-21 23:45:15 +08:00
parent 9e369a119e
commit 1e6b6658bc
2 changed files with 2 additions and 2 deletions

View File

@ -92461,7 +92461,7 @@ EditorUi.prototype.addBeforeUnloadListener = function () {
// This must be disabled during save and image export
window.onbeforeunload = mxUtils.bind(this, function () {
if (!this.editor.isChromelessView()) {
return this.onBeforeUnload();
// return this.onBeforeUnload();
}
});
};

File diff suppressed because one or more lines are too long