diff --git a/editor/svg-editor.js b/editor/svg-editor.js index b03458b2..6610230f 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -4578,6 +4578,7 @@ // showSaveWarning is set to 'false' when the page is saved. if (!curConfig.no_save_warning && Editor.showSaveWarning) { // Browser already asks question about closing the page + e.returnValue = uiStrings.notification.unsavedChanges; // Firefox needs this when beforeunload set by addEventListener (even though message is not used) return uiStrings.notification.unsavedChanges; } }, false);