From 1ed0ec5adf4796c046ab5be8b67f0501da9b61e1 Mon Sep 17 00:00:00 2001 From: "dmose%mozilla.org" Date: Tue, 24 Jul 2007 00:00:22 +0000 Subject: [PATCH] Fix SeaMonkey regression from bug 384374 landing (no bug); r+sr=bz --- embedding/components/ui/helperAppDlg/nsHelperAppDlg.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js b/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js index 2bee096ad92..2e6818e1840 100644 --- a/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js +++ b/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js @@ -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" ]