rem: if (o.responseText) {  var groups = eval(o.responseText);   for (var i=0; i<groups.length; i++) { var optionEl = document.createElement("option"); optionEl.setAttribute("value", groups[i].id); optionEl.setAttribute("onclick", "membersCombo.refreshMembers("+groups[i].id+");"); optionEl.innerHTML = groups[i].name; groupsComboEl.appendChild(optionEl); } } 
context: function UpdatableGroupsCombo(wwwRoot, courseId) {    this.wwwRoot = wwwRoot;    this.courseId = courseId;    this.connectCallback = {        success: function(o) {        	if (o.responseText !== undefined) {                var groupsComboEl = document.getElementById("groups");                var membersComboEl = document.getElementById("members");                if (membersComboEl) {                    // Clear the members combo box.                    while (membersComboEl.firstChild) {                        membersComboEl.removeChild(membersComboEl.firstChild);                    }                }        	    if (groupsComboEl) {        	        // Clear the groups combo box.                    while (groupsComboEl.firstChild) {                        groupsComboEl.removeChild(groupsComboEl.firstChild);                    }            	    if (o.responseText) {            	        //var groups = eval("("+o.responseText+")");            	        var groups = eval(o.responseText);            	        // Populate the groups combo box.                        for (var i=0; i<groups.length; i++) {                            var optionEl = document.createElement("option");                            optionEl.setAttribute("value", groups[i].id);                            optionEl.setAttribute("onclick",                                "membersCombo.refreshMembers("+groups[i].id+");");                            optionEl.innerHTML = groups[i].name;                            groupsComboEl.appendChild(optionEl);                        }            	    }                }        	}        	// Remove the loader gif image.        	removeLoaderImgs("groupsloader", "groupslabel");        }    };    // Hide the updategroups input since AJAX will take care of this.    var updateGroupsButton = document.getElementById("updategroups");    updateGroupsButton.setAttribute("style", "display:none;");}
meta: 2687	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2687/298481260e4d5cb7ff4ccd21b33cc2976c277f14/clientlib.js/clean/group/lib/clientlib.js