projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eecbda3
)
No need to bind.
author
Jan Schneider
<jan@horde.org>
Tue, 22 Jun 2010 15:36:24 +0000
(17:36 +0200)
committer
Jan Schneider
<jan@horde.org>
Tue, 22 Jun 2010 15:36:34 +0000
(17:36 +0200)
horde/js/prettyautocomplete.js
patch
|
blob
|
history
diff --git
a/horde/js/prettyautocomplete.js
b/horde/js/prettyautocomplete.js
index
60b93fc
..
cc1be4f
100644
(file)
--- a/
horde/js/prettyautocomplete.js
+++ b/
horde/js/prettyautocomplete.js
@@
-63,7
+63,7
@@
var PrettyAutocompleter = Class.create({
this.p.onSelect = this._updateElement.bind(this);
// Look for clicks on the box to simulate clicking in an input box
- $(this.p.box).observe('click', function() { trigger.focus() }
.bind(this)
);
+ $(this.p.box).observe('click', function() { trigger.focus() });
trigger.observe('blur', this._resize.bind(this));
trigger.observe('keydown', this._resize.bind(this));
trigger.observe('keypress', this._resize.bind(this));