Fix address context actions.
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 26 Jun 2009 05:18:18 +0000 (23:18 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 26 Jun 2009 08:05:42 +0000 (02:05 -0600)
imp/js/src/DimpCore.js

index bfbe9f1..ea5c0f0 100644 (file)
@@ -449,11 +449,11 @@ var DimpCore = {
     {
         switch (elt.readAttribute('id')) {
         case 'ctx_contacts_new':
-            this.compose('new', { to: elt.readAttribute('address') });
+            this.compose('new', { to: baseelt.readAttribute('address') });
             break;
 
         case 'ctx_contacts_add':
-            this.doAction('AddContact', { name: elt.readAttribute('personal'), email: elt.readAttribute('email') }, null, true);
+            this.doAction('AddContact', { name: baseelt.readAttribute('personal'), email: baseelt.readAttribute('email') }, null, true);
             break;
         }
     },