rem: var enable = (textInput.value != "");  okButton.disabled = !enable; 
add: okButton.disabled = (textInput.value == "") 
context: function doEnabling() {  // Maybe add check if textInput.value would resolve to an existing  // file or directory in .modeOpen. Too costly I think.  var enable = (textInput.value != "");  okButton.disabled = !enable;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/9d3c4cdf4e6367b453755924c52c10d788429d0f/filepicker.js/clean/toolkit/components/filepicker/content/filepicker.js