See ChangeLog

Monotone-Parent: aadc4759a64f724760d38bbdfd92715182856439
Monotone-Revision: 5e99e6ac2d5684eba786f2ce14295f3a3b5267a3

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-06-21T23:32:18
This commit is contained in:
Ludovic Marcotte
2012-06-21 23:32:18 +00:00
parent 86b689d7e8
commit 6d745e0f4b
16 changed files with 45 additions and 19 deletions
@@ -1,8 +1,6 @@
var d;
function onSearchFormSubmit() {
startAnimation($("pageContent"), $("filterPanel"));
var searchValue = $("searchValue");
var encodedValue = encodeURI(searchValue.value);
@@ -16,8 +14,11 @@ function onSearchFormSubmit() {
document.userFoldersRequest.aborted = true;
document.userFoldersRequest.abort();
}
document.userFoldersRequest
= triggerAjaxRequest(url, usersSearchCallback);
if (encodedValue.trim().length > minimumSearchLength) {
startAnimation($("pageContent"), $("filterPanel"));
document.userFoldersRequest
= triggerAjaxRequest(url, usersSearchCallback);
}
}
return false;