mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Auto completer should hide update element by when initializing #1579 [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1610 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
177ed3e681
commit
668a0817f7
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,8 @@ Ajax.Autocompleter.prototype = (new Ajax.Base()).extend({
|
||||||
|
|
||||||
this.observer = null;
|
this.observer = null;
|
||||||
|
|
||||||
|
Element.hide(this.update);
|
||||||
|
|
||||||
Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
|
Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
|
||||||
Event.observe(this.element, "keypress", this.onKeyPress.bindAsEventListener(this));
|
Event.observe(this.element, "keypress", this.onKeyPress.bindAsEventListener(this));
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue