Browse Source

Overrides EditorUi defining beforeunload handler

David Benson 8 years ago
parent
commit
dff6d8979f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      war/js/diagramly/ElectronApp.js

+ 3 - 1
war/js/diagramly/ElectronApp.js

@@ -610,4 +610,6 @@ FeedbackDialog.feedbackUrl = 'https://log.draw.io/email';
         	}));
 		}
 	};
-})();
+	
+	EditorUi.prototype.addBeforeUnloadListener = function() {};
+})();