mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-09 10:25:08 +00:00
Monotone-Parent: 03c23ddd42cc8c0dc879455acf6c14cc491d7f12
Monotone-Revision: 390c5899c8e498b7d320dc7528a7ffbf31204b43 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-03-09T14:29:16 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
changes the content of input fields.
|
||||
(onSearchKeyDown): simplified method by making use of the new
|
||||
function above.
|
||||
(onSearchBlur): clear the timer if the field is empty, to avoid a
|
||||
useless search on the ghost phrase.
|
||||
|
||||
2010-03-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
|
||||
@@ -904,6 +904,8 @@ function onSearchBlur(event) {
|
||||
this.setAttribute("modified", "");
|
||||
this.setStyle({ color: "#909090" });
|
||||
this.value = this.ghostPhrase;
|
||||
if (this.timer)
|
||||
clearTimeout(this.timer);
|
||||
search["value"] = "";
|
||||
if (this.lastSearch != "") {
|
||||
this.lastSearch = "";
|
||||
|
||||
Reference in New Issue
Block a user