Monotone-Parent: 03c23ddd42cc8c0dc879455acf6c14cc491d7f12
Monotone-Revision: 390c5899c8e498b7d320dc7528a7ffbf31204b43 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-03-09T14:29:16 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
abeac067fd
commit
9da637263e
|
@ -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 = "";
|
||||
|
|
Loading…
Reference in New Issue