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
parent 5af6562129
commit 092b1fc7a9
2 changed files with 1 additions and 1 deletions

View File

@ -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 );
}

View File

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