rem: /* right. this sucks. but I see no way to avoid going through the * list and comparing to the contents of the control. */ for (var j=0; j < selnames.length; j++) { for (var i=0; i < control.options.length; i++) { if (control.options[i].value == selnames[j]) { 
add:   for (var j = 0; j < selnames.length; j++) for (var i = 0; i < control.options.length; i++) if (control.options[i].value == selnames[j]) 
context: function restoreSelection(control, selnames) {    /* right. this sucks. but I see no way to avoid going through the     * list and comparing to the contents of the control. */    for (var j=0; j < selnames.length; j++) {        for (var i=0; i < control.options.length; i++) {            if (control.options[i].value == selnames[j]) {                control.options[i].selected = true;            }        }    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/c95e4cb4ebd2002b5f063a35d614719da901c7c0/productform.js/clean/webtools/bugzilla/js/productform.js