rem: var inputs = treeElement.selectedItems[0].getElementsByTagName(awInputElementName()); 
add: var inputs = listboxElement.selectedItems[0].getElementsByTagName(awInputElementName()); 
context: function awKeyDown(event, treeElement){  switch(event.keyCode) {  case 46:  case 8:    /* Warning, the treeElement.selectedItems will change everytime we delete a row */    var selItems = treeElement.selectedItems;    var length = treeElement.selectedItems.length;    for (var i = 1; i <= length; i++) {      var inputs = treeElement.selectedItems[0].getElementsByTagName(awInputElementName());      if (inputs && inputs.length == 1)        awDeleteHit(inputs[0], 2);    }    break;  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/addressingWidgetOverlay.js/clean/mailnews/compose/resources/content/addressingWidgetOverlay.js