rem: searchButton.setAttribute("disabled","true"); } 
add: searchButton.setAttribute("disabled","true"); } 
context: function doEnabling(){	var searchButton = document.getElementById("searchbutton");	var sidebarSearchText = document.getElementById("sidebar-search-text");    if ( sidebarSearchText.value == "" )       {        // No input, disable search button if enabled.        if ( !searchButton.getAttribute("disabled") )          searchButton.setAttribute("disabled","true");      }    else      {        if ( searchButton.getAttribute("disabled") == "true")          searchButton.removeAttribute( "disabled");      }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ba7cb60ef79f944da51c6fa6e8ce1fb183696c74/search-panel.js/buggy/suite/common/search/search-panel.js