Improved JavaScript of UIxContactsUserFolders to avoid useless AJAX requests.

Monotone-Parent: 23831e953238f691f5c6c210b4ddec5d7aee5aec
Monotone-Revision: a62454d2734ee40074efa8872c2a7dfef7bf59fc

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-09-04T21:32:53
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-09-04 21:32:53 +00:00
parent 1bd01c2ce0
commit d8be5f7ddb
3 changed files with 29 additions and 21 deletions

View File

@@ -939,6 +939,9 @@ function onSearchBlur(event) {
}
function onSearchKeyDown(event) {
if (event.keyCode == Event.KEY_TAB)
return false;
if (this.timer)
clearTimeout(this.timer);