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
This commit is contained in:
Marcel Molina 2006-01-13 01:37:30 +00:00
parent 16e41c6b75
commit 2b7f1cdbe9
2 changed files with 3 additions and 1 deletions

View File

@ -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 File

@ -124,7 +124,7 @@ module ActionView
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