aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--actionpack/lib/action_view/helpers/javascript_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/javascript_helper.rb b/actionpack/lib/action_view/helpers/javascript_helper.rb
index 607b8fe0f9..c506757119 100644
--- a/actionpack/lib/action_view/helpers/javascript_helper.rb
+++ b/actionpack/lib/action_view/helpers/javascript_helper.rb
@@ -237,7 +237,7 @@ module ActionView
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