mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-24 03:14:17 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user