rem: { if ( dialog.input.value == "" ) {  if ( !dialog.open.getAttribute("disabled") ) dialog.open.setAttribute("disabled","true"); } else { if ( dialog.open.getAttribute("disabled") ) dialog.open.removeAttribute( "disabled" ); } 
add: { if (!dialog.input.value) {  dialog.open.setAttribute("disabled","true"); 
context: function doEnabling()   {    if ( dialog.input.value == "" )       {        // No input, disable ok button if enabled.        if ( !dialog.open.getAttribute("disabled") )          dialog.open.setAttribute("disabled","true");      }    else      {        if ( dialog.open.getAttribute("disabled") )          dialog.open.removeAttribute( "disabled" );      }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9bf4ee2adc664e16c40661b6cdac1a6b7deabc27/openLocation.js/buggy/xpfe/browser/resources/content/openLocation.js