mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-26 08:32:44 +00:00
See ChangeLog.
Monotone-Parent: f6c6bfab15922450127ccb9597bbc97468d695c0 Monotone-Revision: afd67b085b60bc29f1319198a1796a532db22ebf Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-10-21T20:12:38 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -107,6 +107,9 @@ function expandContactListCallback (http) {
|
||||
if (http.status == 200) {
|
||||
var data = http.responseText.evalJSON(true);
|
||||
// TODO: Should check for duplicated entries
|
||||
for (var i = data.length - 1; i >= 0; i--)
|
||||
// Remove contacts with no email address
|
||||
if (data[i][2].length == 0) data.splice(i, 1);
|
||||
if (data.length >= 1) {
|
||||
var text = data[0][2];
|
||||
if (data[0][1].length)
|
||||
|
||||
Reference in New Issue
Block a user