Fix SeaMonkey regression from bug 384374 landing (no bug); r+sr=bz

git-svn-id: svn://10.0.0.236/trunk@230692 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dmose%mozilla.org 2007-07-24 00:00:22 +00:00
parent 7e38df7274
commit 09d5eea4a6

View File

@ -641,7 +641,8 @@ nsHelperAppDialog.prototype = {
// Verify typed app path, if necessary.
if ( this.dialogElement( "openUsing" ).selected ) {
var helperApp = this.helperAppChoice();
if ( !helperApp || !helperApp.executable || !helperApp.exists() ) {
if ( !helperApp || !helperApp.executable ||
!helperApp.executable.exists() ) {
// Show alert and try again.
var msg = this.replaceInsert( this.getString( "badApp" ), 1, this.dialogElement( "appPath" ).value );
var svc = Components.classes[ "@mozilla.org/embedcomp/prompt-service;1" ]