add: else { dialog.open.removeAttribute("disabled"); } } 
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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d0104aa87fa4b667a3aed980a8ef930929d78c03/openLocation.js/clean/xpfe/browser/resources/content/openLocation.js