Visually identify users with no freebusy

Fixes #2565
This commit is contained in:
Francis Lachapelle
2014-02-03 15:15:14 -05:00
parent f1cb87aa02
commit fcddeb4224
4 changed files with 17 additions and 21 deletions

View File

@@ -220,10 +220,13 @@ function performSearchCallback(http) {
list.appendChild(node);
node.address = completeEmail;
// log("node.address: " + node.address);
if (contact["c_uid"])
if (contact["c_uid"]) {
node.uid = (contact["isMSExchange"]? UserLogin + ":" : "") + contact["c_uid"];
else
}
else {
node.uid = null;
node.appendChild(new Element('div').addClassName('colorBox').addClassName('noFreeBusy'));
}
node.isList = isList;
if (isList) {
node.cname = contact["c_name"];