rem: dd ("onclick: \n" + dumpObjectTree (e, 1)); 
add: /* Check for the button number first */ /* FIXME: are there constants for this stuff? */ if (e.event.which == 3) { return; }  /* * If the ctrlKey is _not_ set, unselect all currently * selected items */  if (!e.event.ctrlKey) { this.enumerateElements(this._unselectCallback, e.realTarget); }  /* Check to see whether the item is currently selected */ var isSelected = e.realTarget.getAttribute("selected");  /* toggle the value */ if ("true" == isSelected) e.realTarget.setAttribute("selected", "false"); else e.realTarget.setAttribute("selected", "true"); 
context: function lbox_chandler (e){    dd ("onclick: \n" + dumpObjectTree (e, 1));    }
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/00eeff450b1ad5d03596049e67af4390b6db4171/listbox.js/buggy/xul/lib/listbox.js