From 958f39b5f83493dba406090a1b8d5db6652438a3 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 15 Nov 2007 19:25:01 +0000 Subject: [PATCH] Monotone-Parent: 006f9f5fa97b150e56360e2767123d6b1e77e8cc Monotone-Revision: 63271073bf7d0a76f33d176368439c6dcd2cb1b1 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-11-15T19:25:01 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/UIxAttendeesEditor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/UI/WebServerResources/UIxAttendeesEditor.js b/UI/WebServerResources/UIxAttendeesEditor.js index 297151aef..beed7baee 100644 --- a/UI/WebServerResources/UIxAttendeesEditor.js +++ b/UI/WebServerResources/UIxAttendeesEditor.js @@ -78,6 +78,7 @@ function updateResults(http) { searchField = http.callbackData; // requestField searchField.hasfreebusy = false; + searchField.setAttribute("uid", null); if (http.status == 200) { var start = searchField.value.length; @@ -126,8 +127,6 @@ function updateResults(http) { var contact = data[0]; if (contact["uid"].length > 0) searchField.setAttribute("uid", contact["uid"]); - else - searchField.setAttribute("uid", null); var completeEmail = contact["name"] + " <" + contact["email"] + ">"; if (contact["name"].substring(0, searchField.value.length).toUpperCase() == searchField.value.toUpperCase())