mirror of https://github.com/fantasticit/think.git
client: remove onBeforeUnload in diagram editor
This commit is contained in:
parent
9e369a119e
commit
1e6b6658bc
|
@ -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
Loading…
Reference in New Issue