rem: var row  =  item.firstChild; var cell =  row.firstChild; var languageid = cell.getAttribute('id'); 
add: var languageid = item.getAttribute('id'); 
context: function UpdateSavePrefString(){  var num_languages = 0;  pref_string = "";  for (var item = active_languages_treeroot.firstChild; item != null; item = item.nextSibling) {    var row  =  item.firstChild;    var cell =  row.firstChild;    var languageid = cell.getAttribute('id');    if (languageid.length > 1) {          num_languages++;      //separate >1 languages by commas      if (num_languages > 1) {        pref_string = pref_string + "," + " " + languageid;      } else {        pref_string = languageid;      } //if    } //if  }//for  active_languages.setAttribute("prefvalue", pref_string);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/1e2d5d9ba4147d5ea3cc58789a6ba7f2426d0695/pref-languages.js/buggy/suite/common/pref/pref-languages.js