rem: var treeNode = document.getElementById("searchengines"); if (treeNode) { treeNode.setAttribute( "ref", category ); } loadEngines( category ); return(true); 
add: var treeNode = document.getElementById("searchengines"); if (treeNode) treeNode.setAttribute("ref", category);  loadEngines(category); return(true); 
context: function chooseCategory( aNode ){	var category = aNode.getAttribute("id");	if ((!category) || (category == ""))	{		category="NC:SearchEngineRoot";	}	else	{		category = "NC:SearchCategory?category=" + category;	}	debug("chooseCategory: '" + category + "'\n");	if (pref)	pref.SetCharPref( "browser.search.last_search_category", category );	else		debug("Unable to set browser.search.last_search_category pref.\n");	var treeNode = document.getElementById("searchengines");	if (treeNode)	{		treeNode.setAttribute( "ref", category );	}	loadEngines( category );	return(true);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6a80dfc41c74ac5b49360af43d1f736a30d98b45/search-panel.js/clean/suite/common/search/search-panel.js