projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66489ae
)
Don't focus quicksearch when clicking on icon
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 17 Sep 2009 17:30:09 +0000
(11:30 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 17 Sep 2009 17:30:09 +0000
(11:30 -0600)
imp/js/DimpBase.js
patch
|
blob
|
history
diff --git
a/imp/js/DimpBase.js
b/imp/js/DimpBase.js
index
7f4bdc5
..
de36e42
100644
(file)
--- a/
imp/js/DimpBase.js
+++ b/
imp/js/DimpBase.js
@@
-1744,11
+1744,13
@@
var DimpBase = {
break;
case 'qsearch':
- elt.addClassName('qsearchFocus');
- if (!elt.hasClassName('qsearchActive')) {
- this._setFilterText(false);
+ if (e.element().readAttribute('id') != 'qsearch_icon') {
+ elt.addClassName('qsearchFocus');
+ if (!elt.hasClassName('qsearchActive')) {
+ this._setFilterText(false);
+ }
+ $('qsearch_input').focus();
}
- $('qsearch_input').focus();
break;
case 'qsearch_close':