aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorStephen St. Martin <kuprishuz@gmail.com>2010-01-25 17:32:24 -0500
committerStefan Penner <stefan.penner@gmail.com>2010-01-27 12:44:34 -0600
commit5a75f1ab900d9637a6e7390abb9ea7faf9a85647 (patch)
tree6ef0079f504781a4a847a7e4879c5102cb0e76c1 /actionpack
parent06dd23d67133601f2639695a0fadab81213f6200 (diff)
downloadrails-5a75f1ab900d9637a6e7390abb9ea7faf9a85647.tar.gz
rails-5a75f1ab900d9637a6e7390abb9ea7faf9a85647.tar.bz2
rails-5a75f1ab900d9637a6e7390abb9ea7faf9a85647.zip
add missing call to set_with_and_condition_attributes for form_remote_tag
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/ajax_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/helpers/ajax_helper.rb b/actionpack/lib/action_view/helpers/ajax_helper.rb
index b29dc50c8d..adb686aad4 100644
--- a/actionpack/lib/action_view/helpers/ajax_helper.rb
+++ b/actionpack/lib/action_view/helpers/ajax_helper.rb
@@ -580,6 +580,7 @@ module ActionView
def form_remote_tag(options, &block)
html = {}
set_callbacks(options, html)
+ set_with_and_condition_attributes(options, html)
options.merge!(:callbacks => html)
super
end