Commits

Anonymous committed 8cb4f0a

[svn] Effects should take multiple args

  • Participants
  • Parent commits eabf07c

Comments (0)

Files changed (1)

webhelpers/rails/scriptaculous.py

         return "Effect.toggle(%s,'%s',%s);" % (element, name.replace('toggle_',''), options_for_javascript(js_options))
     return "new Effect.%s(%s,%s);" % (camelize(name), element, options_for_javascript(js_options))
 
-def parallel_effects(effects, **js_options):
+def parallel_effects(*effects, **js_options):
     """
     Wraps visual effects so they occur in parallel