rem: if (gIdentityListBox.selectedItems.length > 0) openIdentityEditor(getSelectedIdentity()); 
add: var id = (event.target.localName == 'listbox') ? null : getSelectedIdentity(); openIdentityEditor(id); 
context: function onEdit(event){  if (gIdentityListBox.selectedItems.length > 0)     openIdentityEditor(getSelectedIdentity());}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/088f38c3c0526125752761a704539f8287f82d87/am-identities-list.js/buggy/mailnews/base/prefs/resources/content/am-identities-list.js