aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorStephen St. Martin <kuprishuz@gmail.com>2010-01-24 12:59:29 -0500
committerStefan Penner <stefan.penner@gmail.com>2010-01-27 12:44:33 -0600
commit133f6011d08ee043dcb5ae95bb441a81f6206bd9 (patch)
treef4182eacde22ff2f64b3998d2db1f4126107aea0 /actionpack/lib
parent426a6b2e00665b04bab4fa5cee664fefd9957960 (diff)
downloadrails-133f6011d08ee043dcb5ae95bb441a81f6206bd9.tar.gz
rails-133f6011d08ee043dcb5ae95bb441a81f6206bd9.tar.bz2
rails-133f6011d08ee043dcb5ae95bb441a81f6206bd9.zip
add missing :before and :after callbacks for link_to_remote
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_view/helpers/ajax_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/ajax_helper.rb b/actionpack/lib/action_view/helpers/ajax_helper.rb
index 5a9c4e7386..f6c9952031 100644
--- a/actionpack/lib/action_view/helpers/ajax_helper.rb
+++ b/actionpack/lib/action_view/helpers/ajax_helper.rb
@@ -600,7 +600,7 @@ module ActionView
private
def set_callbacks(options, html)
- [:uninitialized, :complete, :failure, :success, :interactive, :loaded, :loading].each do |type|
+ [:before, :after, :uninitialized, :complete, :failure, :success, :interactive, :loaded, :loading].each do |type|
html["data-on#{type}"] = options.delete(type.to_sym)
end