aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/scriptaculous_helper.rb
diff options
context:
space:
mode:
authorSam Stephenson <sam@37signals.com>2006-01-23 17:09:15 +0000
committerSam Stephenson <sam@37signals.com>2006-01-23 17:09:15 +0000
commit9c52a41241a632315edb77381240b66a7cc5aef4 (patch)
tree872352d82ff875e7d4ddd43c0f1adbc714e8282f /actionpack/lib/action_view/helpers/scriptaculous_helper.rb
parent185cca238bc1df79a3bb438679bbbeb980f82078 (diff)
downloadrails-9c52a41241a632315edb77381240b66a7cc5aef4.tar.gz
rails-9c52a41241a632315edb77381240b66a7cc5aef4.tar.bz2
rails-9c52a41241a632315edb77381240b66a7cc5aef4.zip
Add the ability to call JavaScriptGenerator methods from helpers called in update blocks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/scriptaculous_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/scriptaculous_helper.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/actionpack/lib/action_view/helpers/scriptaculous_helper.rb b/actionpack/lib/action_view/helpers/scriptaculous_helper.rb
index 5f7e90ec33..e64966d919 100644
--- a/actionpack/lib/action_view/helpers/scriptaculous_helper.rb
+++ b/actionpack/lib/action_view/helpers/scriptaculous_helper.rb
@@ -52,23 +52,6 @@ module ActionView
end
end
- # Needs more work so + isn't required for concation of effects. Currently, you have to do:
- #
- # page.parallel_effects do
- # page.visual_effect(:highlight, 'dom_id') +
- # page.visual_effect(:fade, 'dom_id')
- # end
- #
- # ...naturally, it would be better just to do
- #
- # page.parallel_effects do
- # page.visual_effect :highlight, 'dom_id'
- # page.visual_effect :fade, 'dom_id'
- # end
- def parallel_effects(js_options = {}) #:nodoc:
- "new Effect.Parallel([" + yield + "], #{options_for_javascript(js_options)})"
- end
-
# Makes the element with the DOM ID specified by +element_id+ sortable
# by drag-and-drop and make an Ajax call whenever the sort order has
# changed. By default, the action called gets the serialized sortable