rem: RDFC.Init(catDS, categoryRes); 
add: RDFC.Init(catDS, categoryRes); 
context: function RemoveEngine(){	var engineList = document.getElementById("engineList");	if (!engineList)	return(false);	var select_list = engineList.selectedItems;	if (!select_list)	return(false)	if (select_list.length < 1)	return(false);	var ref = engineList.getAttribute("ref");	if ((!ref) || (ref == ""))	return(false);	var categoryRes = RDF.GetResource(ref);	if (!categoryRes)	return(false);	RDFC.Init(catDS, categoryRes);	// Note: walk backwards to make deletion easier	for (var x = select_list.length - 1; x >= 0; x--)	{		var id = select_list[x].getAttribute("id");		if ((!id) || (id == ""))	return(false);		var idRes = RDF.GetResource(id);		if (!idRes)	return(false);		var nodeIndex = RDFC.IndexOf(idRes);		if (nodeIndex > 0)		{			RDFC.RemoveElementAt(nodeIndex, true, idRes);		}	}		return(true);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/14c79ddbd6da59bd2a2cf0cd9efa73f23cec7ae7/search-editor.js/buggy/suite/common/search/search-editor.js