Browse files

Added first stab at Javascript/Ajax helpers

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 7ae83e5 commit 7d801ae1c88dc2c29302de9a5feeb86ac5391dae @dhh dhh committed Mar 12, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/javascript_helper.rb
View
2 actionpack/lib/action_view/helpers/javascript_helper.rb
@@ -1,7 +1,7 @@
require File.dirname(__FILE__) + '/tag_helper'
# You must call <%= define_javascript_functions %> in your application before using these helpers.
-module JavascriptTagHelper
+module JavascriptHelper
def link_to_display_toggle(name, tags, html_options = {})
toggle_functions = [ tags ].flatten.collect { |tag| "toggle_display_by_id('#{tag}'); " }.join
content_tag(

0 comments on commit 7d801ae

Please sign in to comment.