diff --git a/xpfe/components/prefwindow/resources/content/pref-applications-edit.xul b/xpfe/components/prefwindow/resources/content/pref-applications-edit.xul index a5ef292846d..3e5369febd8 100644 --- a/xpfe/components/prefwindow/resources/content/pref-applications-edit.xul +++ b/xpfe/components/prefwindow/resources/content/pref-applications-edit.xul @@ -334,7 +334,7 @@ dialogMsg = dialogMsg.replace(/%mime%/g, gMIMEField.value); var replace = promptService.confirm(window, titleMsg, dialogMsg); if (!replace) - window.close(); + return true; // delete mimetype we're overwriting if (gMIMEField.value)