Skip to content
Browse files

Wrong variable name used in observe_field #1551

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1568 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 8a145b2 commit a90598b4581987297e425914096d6bf134957d17 @dhh dhh committed Jun 30, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/javascript_helper.rb
View
2 actionpack/lib/action_view/helpers/javascript_helper.rb
@@ -237,7 +237,7 @@ def observe_field(field_id, options = {})
if options[:frequency]
build_observer('Form.Element.Observer', field_id, options)
else
- build_observer('Form.Element.EventObserver', form_id, options)
+ build_observer('Form.Element.EventObserver', field_id, options)
end
end

0 comments on commit a90598b

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