mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Fix for bug 57345: "Cancel" in Save as Charset brings up Page Title. r=brade, sr=sfraser
This commit is contained in:
parent
979169405e
commit
4d12b7c43e
@ -312,7 +312,8 @@ var nsSaveAsCharsetCommand =
|
||||
{
|
||||
FinishHTMLSource();
|
||||
window.ok = false;
|
||||
if (window.openDialog("chrome://editor/content/EditorSaveAsCharset.xul","_blank", "chrome,close,titlebar,modal"))
|
||||
window.openDialog("chrome://editor/content/EditorSaveAsCharset.xul","_blank", "chrome,close,titlebar,modal")
|
||||
if (window.ok)
|
||||
{
|
||||
window.ok = window.editorShell.saveDocument(true, false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user