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:
parent
16e41c6b75
commit
2b7f1cdbe9
|
@ -1,5 +1,7 @@
|
||||||
*SVN*
|
*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.]
|
* 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]
|
* Have the form builder output radio button, not check box, when calling the radio button helper. #3331 [LouisStAmour@gmail.com]
|
||||||
|
|
|
@ -124,7 +124,7 @@ module ActionView
|
||||||
js_options[:indicator] = "'#{options[:indicator]}'" if options[:indicator]
|
js_options[:indicator] = "'#{options[:indicator]}'" if options[:indicator]
|
||||||
js_options[:select] = "'#{options[:select]}'" if options[:select]
|
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]
|
js_options[v] = options[k] if options[k]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue