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

This commit is contained in:
dmose@mozilla.org 2007-07-23 17:00:22 -07:00
parent 1776b80002
commit 2d5c1c8d9a

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