rem:  if ( this.dialogElement( "saveToDisk" ).selected && !this.mForced ) { 
add:  if ( this.dialogElement( "saveToDisk" ).selected && this.mReason != REASON_SERVERREQUEST ) { 
context:     updateMIMEInfo: function() {        var needUpdate = false;        // If current selection differs from what's in the mime info object,        // then we need to update.        // However, we don't want to change the action all nsIMIMEInfo objects to        // saveToDisk if mForced is true.        if ( this.dialogElement( "saveToDisk" ).selected && !this.mForced ) {            needUpdate = this.mLauncher.MIMEInfo.preferredAction != this.nsIMIMEInfo.saveToDisk;            if ( needUpdate )                this.mLauncher.MIMEInfo.preferredAction = this.nsIMIMEInfo.saveToDisk;        } else if ( this.dialogElement( "useSystemDefault" ).selected ) {            needUpdate = this.mLauncher.MIMEInfo.preferredAction != this.nsIMIMEInfo.useSystemDefault;            if ( needUpdate )                this.mLauncher.MIMEInfo.preferredAction = this.nsIMIMEInfo.useSystemDefault;        } else if ( this.dialogElement( "openUsing" ).selected ) {            // For "open with", we need to check both preferred action and whether the user chose            // a new app.            needUpdate = this.mLauncher.MIMEInfo.preferredAction != this.nsIMIMEInfo.useHelperApp || this.appChanged();            if ( needUpdate ) {                this.mLauncher.MIMEInfo.preferredAction = this.nsIMIMEInfo.useHelperApp;                // App may have changed - Update application and description                var app = this.helperAppChoice();                this.mLauncher.MIMEInfo.preferredApplicationHandler = app;                this.mLauncher.MIMEInfo.applicationDescription = "";            }        }        // Only care about the state of "always ask" if this dialog wasn't forced        if ( !this.mForced )        {          // We will also need to update if the "always ask" flag has changed.          needUpdate = needUpdate || this.mLauncher.MIMEInfo.alwaysAskBeforeHandling == this.dialogElement( "alwaysHandle" ).checked;          // One last special case: If the input "always ask" flag was false, then we always          // update.  In that case we are displaying the helper app dialog for the first          // time for this mime type and we need to store the user's action in the mimeTypes.rdf          // data source (whether that action has changed or not; if it didn't change, then we need          // to store the "always ask" flag so the helper app dialog will or won't display          // next time, per the user's selection).          needUpdate = needUpdate || !this.mLauncher.MIMEInfo.alwaysAskBeforeHandling;          // Make sure mime info has updated setting for the "always ask" flag.          this.mLauncher.MIMEInfo.alwaysAskBeforeHandling = !this.dialogElement( "alwaysHandle" ).checked;        }        return needUpdate;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/bf94a50628427316f9e9a4afa44c98d337912d55/nsHelperAppDlg.js/buggy/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js