mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-10 21:09:50 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user