Permalink
Browse files

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
  • Loading branch information...
1 parent 177ed3e commit 668a0817f71fb586798243f300a75f3f6ac0aeb3 @dhh dhh committed Jul 2, 2005
Showing with 2 additions and 0 deletions.
  1. +2 −0 actionpack/lib/action_view/helpers/javascripts/controls.js
@@ -76,6 +76,8 @@ Ajax.Autocompleter.prototype = (new Ajax.Base()).extend({
this.observer = null;
+ Element.hide(this.update);
+
Event.observe(this.element, "blur", this.onBlur.bindAsEventListener(this));
Event.observe(this.element, "keypress", this.onKeyPress.bindAsEventListener(this));
},

0 comments on commit 668a081

Please sign in to comment.