rem: if ( key == 13 ) {  if ( !dialog.ok.disabled ) { open(); } } else { 
add: if ( key != 13 ) { 
context: function onTyping( key ) {   // Look for enter key...   if ( key == 13 ) {      // If ok button not disabled, go for it.      if ( !dialog.ok.disabled ) {         open();      }   } else {      // 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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/ed42ece2603e2fa2f4cc27b505ccdaf024e4c7f2/openLocation.js/clean/xpfe/browser/resources/content/openLocation.js