From f694938fd14b1c37ba16edf3aeb85970a9f498d8 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 22 May 2008 15:52:41 +0000 Subject: [PATCH] Monotone-Parent: 6983b54c9f08ae3a30a944b03aba053d002a3e44 Monotone-Revision: 7c43b14e9157686aa029894c48c4f5e4292832f7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-05-22T15:52:41 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/ContactsUI.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/UI/WebServerResources/ContactsUI.js b/UI/WebServerResources/ContactsUI.js index f1e259d31..acaac9879 100644 --- a/UI/WebServerResources/ContactsUI.js +++ b/UI/WebServerResources/ContactsUI.js @@ -295,7 +295,7 @@ function moveTo(uri) { /* contact menu entries */ function onContactRowDblClick(event) { - var contactId = this.getAttribute('id'); + var contactId = this.getAttribute('contactid'); openContactWindow(URLForFolderID(currentAddressBook) + "/" + contactId + "/edit", contactId); @@ -308,11 +308,10 @@ function onContactSelectionChange(event) { if (rows.length == 1) { var node = $(rows[0]); - loadContact(node.getAttribute('id')); + loadContact(node.getAttribute('contactid')); } - else if (rows.length > 1) { + else if (rows.length > 1) $('contactView').update(); - } } function onMenuEditContact(event) {