Monotone-Parent: 006f9f5fa97b150e56360e2767123d6b1e77e8cc
Monotone-Revision: 63271073bf7d0a76f33d176368439c6dcd2cb1b1 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-11-15T19:25:01 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
a2d7ad9ad3
commit
958f39b5f8
|
@ -78,6 +78,7 @@ function updateResults(http) {
|
|||
|
||||
searchField = http.callbackData; // requestField
|
||||
searchField.hasfreebusy = false;
|
||||
searchField.setAttribute("uid", null);
|
||||
|
||||
if (http.status == 200) {
|
||||
var start = searchField.value.length;
|
||||
|
@ -126,8 +127,6 @@ function updateResults(http) {
|
|||
var contact = data[0];
|
||||
if (contact["uid"].length > 0)
|
||||
searchField.setAttribute("uid", contact["uid"]);
|
||||
else
|
||||
searchField.setAttribute("uid", null);
|
||||
var completeEmail = contact["name"] + " <" + contact["email"] + ">";
|
||||
if (contact["name"].substring(0, searchField.value.length).toUpperCase()
|
||||
== searchField.value.toUpperCase())
|
||||
|
|
Loading…
Reference in New Issue