projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7048034
)
Fix reloading results when text changes in quicksearch box
author
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 22 Jan 2010 18:27:06 +0000
(11:27 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Fri, 22 Jan 2010 18:27:21 +0000
(11:27 -0700)
imp/js/DimpBase.js
patch
|
blob
|
history
diff --git
a/imp/js/DimpBase.js
b/imp/js/DimpBase.js
index
d54a398
..
c94eda1
100644
(file)
--- a/
imp/js/DimpBase.js
+++ b/
imp/js/DimpBase.js
@@
-1501,10
+1501,16
@@
var DimpBase = {
quicksearchRun: function()
{
+ var q = $F('qsearch_input');
+
if (this.isSearch()) {
+ /* Search text has changed. */
+ if (this.search.query != q) {
+ this.folderswitch = true;
+ }
this.viewport.reload();
} else {
- this.search = { mbox: this.folder };
+ this.search = { mbox: this.folder
, query: q
};
this.loadMailbox(DIMP.conf.qsearchid);
}
},