mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +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:
@@ -1,3 +1,10 @@
|
||||
2012-02-08 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/UIxAttendeesEditor.js
|
||||
(performSearchCallback): set the uid parameter to null instead of
|
||||
an empty string when the returned contact has no uid (ie, it comes
|
||||
from a personal addressbook).
|
||||
|
||||
2012-02-06 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/LDAPSource.m: escape built DNs using the new
|
||||
|
||||
@@ -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