rem: if ( !dialog.ok.disabled ) { dialog.ok.setAttribute( "disabled", "" ); 
add: if ( !dialog.open.disabled ) { dialog.open.setAttribute( "disabled", "" ); 
context: function onTyping( key ) {   // Look for enter key...   if ( key != 13 ) {      // Check for valid input.      if ( dialog.input.value == "" ) {         // No input, disable ok button if enabled.         if ( !dialog.ok.disabled ) {            dialog.ok.setAttribute( "disabled", "" );         }      } else {         // Input, enable ok button if disabled.         if ( dialog.ok.disabled ) {            dialog.ok.removeAttribute( "disabled" );         }      }   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/942233d3e1f512acd295b0994d9b18c04d6d175e/openLocation.js/clean/xpfe/browser/resources/content/openLocation.js