rem: sTestgroup = testgroup; var menu = document.getElementById("qa-st-subgroup"); while (menu.firstChild) { menu.removeChild(menu.firstChild); } var subgroups = qaTools.arrayify(testgroup.subgroups); 
add: sTestgroup = testgroup; var menu = document.getElementById("qa-st-subgroup"); while (menu.firstChild) { menu.removeChild(menu.firstChild); } var subgroups = qaTools.arrayify(testgroup.subgroups); 
context: function populateSubgroups(testgroup) {	sTestgroup = testgroup;	var menu = document.getElementById("qa-st-subgroup");	while (menu.firstChild) {  // clear menu		menu.removeChild(menu.firstChild);	}	var subgroups = qaTools.arrayify(testgroup.subgroups);	for (var i = 0; i < subgroups.length; i++) {		if (subgroups[i].enabled == 0) continue;		menu.appendItem(subgroups[i].name, subgroups[i].subgroup_id);	}	menu.selectedIndex = 0;}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/4af6f6b6437149955a8838293b59504d28ec897e/selecttests.js/clean/testing/extensions/community/chrome/content/tabs/selecttests.js