rem: var subgroups = req.responseText.split("\n"); var subgroupbox = document.getElementById("subgroup_id"); for (var i=0; i<subgroupbox.options.length; i++) { var subgroup = subgroupbox.options[i]; var hide = 0; var id = subgroup.value; if (subgroups.indexOf(id) == -1) { hide = 1; } hide == 1 ? subgroup.style.display = 'none' : subgroup.style.display = ''; } toggleMessage('none'); 
add: var subgroups = req.responseText.split("\n"); var subgroupbox = document.getElementById("subgroup_id"); for (var i=0; i<subgroupbox.options.length; i++) { var subgroup = subgroupbox.options[i]; var hide = 0; var id = subgroup.value; if (subgroups.indexOf(id) == -1) { hide = 1; } hide == 1 ? subgroup.style.display = 'none' : subgroup.style.display = ''; } toggleMessage('none'); 
context: var doFilterList = function(req) {	var subgroups = req.responseText.split("\n");	var subgroupbox = document.getElementById("subgroup_id");	for (var i=0; i<subgroupbox.options.length; i++) {		var subgroup = subgroupbox.options[i];		var hide = 0;		var id = subgroup.value;		if (subgroups.indexOf(id) == -1) { hide = 1; }		hide == 1 ? subgroup.style.display = 'none' : subgroup.style.display = '';	}	toggleMessage('none');};
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/38cc2c83c0a981088028f4bb46905c61fc4ecda5/ManageSubgroups.js/clean/webtools/litmus/js/ManageSubgroups.js