Bug 256049 - Error id has no properties'' [xs] in file chrome://messenger/content/messengercompose/addressingWidgetOverlay.js'', line 1057, character 0.; r=Neil
authorJonathan Kamens <jik@kamens.brookline.ma.us>
Fri, 08 Oct 2010 10:56:21 +0100
changeset 6518 a98ae8d91e45c0524c3f83e81d4731c002ce9b56
parent 6517 f3e65da40cefd17508d3581d97949fbb6d9edff7
child 6519 e71c332ad4dbaad3dbc5371779d1eac7eca666d3
push idunknown
push userunknown
push dateunknown
reviewersNeil
bugs256049
Bug 256049 - Error id has no properties'' [xs] in file chrome://messenger/content/messengercompose/addressingWidgetOverlay.js'', line 1057, character 0.; r=Neil
mail/components/compose/content/addressingWidgetOverlay.js
--- a/mail/components/compose/content/addressingWidgetOverlay.js
+++ b/mail/components/compose/content/addressingWidgetOverlay.js
@@ -1044,17 +1044,17 @@ function awSizerMouseUp()
 {
   document.removeEventListener("mousemove", awSizerMouseMove, true);
   document.removeEventListener("mouseup", awSizerMouseUp, false);
 }
 
 function awDocumentKeyPress(event)
 {
   try {
-    var id = event.target.getAttribute('id');
+    var id = event.target.id;
     if (id.substr(0, 11) == 'addressCol1')
       awMenulistKeyPress(event, event.target);
   } catch (e) { }
 }
 
 function awRecipientInputCommand(event, inputElement)
 {
   gContentChanged=true;