rem: this.treeCellCheckbox.setAttribute("allowevents", "true"); this.treeCellCheckbox.setAttribute("checked", option.hasAttribute("selected")); this.treeCellCheckbox.setAttribute("style", "-moz-user-focus: ignore; margin: 1px; "); this.treeCellSelected.appendChild(this.treeCellCheckbox); 
add: this.treeCellSelected.setAttribute("properties", "checked-"+option.hasAttribute("selected")); 
context: function optionObject(parent, option){  if (option.hasAttribute("selected"))    selectedOptionCount++;  this.globalIndex = globalArray.length;  globalArray[globalArray.length++] = this;  this.parentObject = parent;  this.element = option;  this.treeItem = createXUL("treeitem");  this.treeRow = createXUL("treerow");  this.treeCellText = createXUL("treecell");  this.treeCellValue = createXUL("treecell");  this.treeCellSelected = createXUL("treecell");  this.treeCellCheckbox = createXUL("checkbox");  this.treeItem.setAttribute("index", this.globalIndex);  this.treeItem.setAttribute("container", "true");  this.treeItem.setAttribute("empty", "true");  this.treeCellText.setAttribute("class", "treecell-indent");  this.treeCellText.setAttribute("notwisty", "true");  this.treeCellText.setAttribute("label", option.text);  if (option.hasAttribute("value"))    this.treeCellValue.setAttribute("label", option.value);  else    this.treeCellValue.setAttribute("label", option.text);  this.treeCellCheckbox.setAttribute("allowevents", "true");  this.treeCellCheckbox.setAttribute("checked", option.hasAttribute("selected"));  this.treeCellCheckbox.setAttribute("style", "-moz-user-focus: ignore; margin: 1px; ");  this.treeCellSelected.appendChild(this.treeCellCheckbox);  this.treeRow.appendChild(this.treeCellText);  this.treeRow.appendChild(this.treeCellValue);  this.treeRow.appendChild(this.treeCellSelected);  this.treeItem.appendChild(this.treeRow);  parent.treeChildren.appendChild(this.treeItem);  gDialog.treeItem.setAttribute("open", "true");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/07d96867f11683becf5e1a6ca5e64e6a9324c957/EdSelectProps.js/buggy/editor/ui/dialogs/content/EdSelectProps.js