merge of 'c6339a8aa68698c675ee2d4eb594d55534556d0a'

and 'd6acf550ed6a03fbd33942b8d7cd672e30a07bf0'

Monotone-Parent: c6339a8aa68698c675ee2d4eb594d55534556d0a
Monotone-Parent: d6acf550ed6a03fbd33942b8d7cd672e30a07bf0
Monotone-Revision: c6b8e3c75a4449f576bab78576b6ea03f5d7d891

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2010-03-08T21:01:35
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2010-03-08 21:01:35 +00:00
3 changed files with 11 additions and 5 deletions
+7
View File
@@ -1,5 +1,12 @@
2010-03-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/WebServerResources/generic.js (onSearchKeyDown): set the
search timeout to 500 ms instead of 1 sec.
* UI/WebServerResources/UIxContactsUserFolders.js
(onFolderSearchKeyDown): move the start of the animation to
onSearchFormSubmit.
* UI/WebServerResources/generic.js (createDialog): new method
designed to provide a normalized interface for creating popup
dialogs with DOM methods.
@@ -3,6 +3,8 @@
var d;
function onSearchFormSubmit() {
startAnimation($("pageContent"), $("filterPanel"));
var searchValue = $("searchValue");
var encodedValue = encodeURI(searchValue.value);
@@ -244,10 +246,7 @@ function onFolderSearchKeyDown(event) {
}
div.clean = true;
$("addButton").addClassName("disabled");
}
if (this.timer)
startAnimation($("pageContent"), $("filterPanel"));
}
}
function initUserFoldersWindow() {
+1 -1
View File
@@ -932,7 +932,7 @@ function onSearchKeyDown(event) {
else if (event.keyCode == 0
|| event.keyCode == Event.KEY_BACKSPACE
|| event.keyCode > 31)
this.timer = setTimeout("onSearchFormSubmit()", 1000);
this.timer = setTimeout("onSearchFormSubmit()", 500);
}
function onSearchFormSubmit(event) {