From 9c52a41241a632315edb77381240b66a7cc5aef4 Mon Sep 17 00:00:00 2001 From: Sam Stephenson Date: Mon, 23 Jan 2006 17:09:15 +0000 Subject: 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 --- .../lib/action_view/helpers/scriptaculous_helper.rb | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'actionpack/lib/action_view/helpers/scriptaculous_helper.rb') 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 -- cgit v1.2.3