зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
4fd17019ec
Коммит
8c22117656
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче