mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bug #47248 --> various problems with save as dialog from helper app. unload handler was calling cancel and we
weren't setting the action to saveToDisk in the right case Landing branch changes to the tip. r=alecf
This commit is contained in:
parent
5af6562129
commit
092b1fc7a9
@ -99,6 +99,7 @@ nsHelperAppLauncherDialog.prototype= {
|
||||
}
|
||||
this.appLauncher.launchWithApplication( this.chosenApp, dontAskNextTime );
|
||||
} else {
|
||||
this.appLauncher.MIMEInfo.preferredAction = this.nsIHelperAppLauncher.saveToDisk;
|
||||
this.appLauncher.saveToDisk( null, dontAskNextTime );
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,6 @@
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
title="&caption.label;"
|
||||
onload="window.dialog = new nsHelperAppLauncherDialog()"
|
||||
onunload="window.dialog.onCancel()"
|
||||
style="width: 40em;"
|
||||
class="dialog"
|
||||
align="vertical"
|
||||
|
Loading…
x
Reference in New Issue
Block a user