See ChangeLog.

Monotone-Parent: 1bf26558a5d80739db6bafed963516c4e78f4d6b
Monotone-Revision: e44d4b3b819cc0be31ab350c503dde9185890fbe

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-02-07T10:13:17
This commit is contained in:
Francis Lachapelle
2012-02-07 10:13:17 +00:00
parent 5d9e0e99cf
commit 63782c9d23
2 changed files with 15 additions and 2 deletions
+8 -2
View File
@@ -219,7 +219,10 @@ function performSearchCallback(http) {
list.appendChild(node);
node.address = completeEmail;
// log("node.address: " + node.address);
node.uid = (contact["isMSExchange"]? UserLogin + ":" : "") + contact["c_uid"];
if (contact["c_uid"])
node.uid = (contact["isMSExchange"]? UserLogin + ":" : "") + contact["c_uid"];
else
node.uid = null;
node.isList = isList;
if (isList) {
node.cname = contact["c_name"];
@@ -272,7 +275,10 @@ function performSearchCallback(http) {
if (data.contacts.length == 1) {
// Single result
var contact = data.contacts[0];
input.uid = (contact["isMSExchange"]? UserLogin + ":" : "") + contact["c_uid"];
if (contact["c_uid"])
input.uid = (contact["isMSExchange"]? UserLogin + ":" : "") + contact["c_uid"];
else
input.uid = null;
var isList = (contact["c_component"] &&
contact["c_component"] == "vlist");
if (isList) {