rem: if ( this.dialogElement( "openUsing" ).selected ) {  this.dialogElement( "chooseApp" ).removeAttribute( "disabled" ); } else {  this.dialogElement( "chooseApp" ).setAttribute( "disabled", "true" ); }  this.updateOKButton(); 
add: this.dialogElement( "chooseApp" ).disabled = this.dialogElement( "appPath" ).disabled = !this.dialogElement( "openUsing" ).selected; this.updateOKButton(); 
context:     toggleChoice : function () {        // See what option is selected.        if ( this.dialogElement( "openUsing" ).selected ) {            // We can enable the pick app button.            this.dialogElement( "chooseApp" ).removeAttribute( "disabled" );        } else {            // We can disable the pick app button.            this.dialogElement( "chooseApp" ).setAttribute( "disabled", "true" );        }       this.updateOKButton();    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5f9095c9ce0b22166307d1eb8d981b8b51b0fcbb/nsHelperAppDlg.js/buggy/embedding/components/ui/helperAppDlg/nsHelperAppDlg.js