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:
mscott%netscape.com 2000-08-03 00:27:17 +00:00
Родитель 4fd17019ec
Коммит 8c22117656
2 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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"