Skip to content
Browse files

Fix typo in function name mapping in auto_complete_field. Closes #3446.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3401 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 16e41c6 commit 2b7f1cdbe9204d68ed5db41229cd48bba8e0225b Marcel Molina committed Jan 13, 2006
Showing with 3 additions and 1 deletion.
  1. +2 −0 actionpack/CHANGELOG
  2. +1 −1 actionpack/lib/action_view/helpers/java_script_macros_helper.rb
View
2 actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Fix typo in function name mapping in auto_complete_field. #3446 [doppler@gmail.com]
+
* Allow auto-discovery of third party template library layouts. [Marcel Molina Jr.]
* Have the form builder output radio button, not check box, when calling the radio button helper. #3331 [LouisStAmour@gmail.com]
View
2 actionpack/lib/action_view/helpers/java_script_macros_helper.rb
@@ -124,7 +124,7 @@ def auto_complete_field(field_id, options = {})
js_options[:indicator] = "'#{options[:indicator]}'" if options[:indicator]
js_options[:select] = "'#{options[:select]}'" if options[:select]
- { :on_show => :onShow, :on_hide => :onHide, :min_chars => :min_chars }.each do |k,v|
+ { :on_show => :onShow, :on_hide => :onHide, :min_chars => :minChars }.each do |k,v|
js_options[v] = options[k] if options[k]
end

0 comments on commit 2b7f1cd

Please sign in to comment.
Something went wrong with that request. Please try again.