rem: var findButton = document.getElementById("search");  if (!findText.value) {  if (!findButton.disabled) { findButton.disabled = true; } } else if (findButton.disabled) findButton.disabled = false; 
add: var findButton = document.getElementById("search"); findButton.disabled = !gFindText.value; 
context: function doEnabling(){	var findButton = document.getElementById("search");	if (!findText.value) {		// No input, disable find button if enabled.		if (!findButton.disabled) {			findButton.disabled = true;		}	}	else		if (findButton.disabled)			findButton.disabled = false;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/d4c8771cfea634f1a7f3846c110ea68465a388ad/bm-find.js/buggy/xpfe/components/bookmarks/resources/bm-find.js