From cd29c33616e1c54721a16bb79cf3d4fbb6d8f931 Mon Sep 17 00:00:00 2001 From: Rick Olson Date: Thu, 27 Apr 2006 17:26:39 +0000 Subject: Fixes bad rendering of JavaScriptMacrosHelper rdoc (closes #4910) [Frederick Ros] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/java_script_macros_helper.rb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'actionpack/lib/action_view/helpers') diff --git a/actionpack/lib/action_view/helpers/java_script_macros_helper.rb b/actionpack/lib/action_view/helpers/java_script_macros_helper.rb index fee8e12595..2cb64c95c8 100644 --- a/actionpack/lib/action_view/helpers/java_script_macros_helper.rb +++ b/actionpack/lib/action_view/helpers/java_script_macros_helper.rb @@ -27,6 +27,7 @@ module ActionView # :url:: Specifies the url where the updated value should # be sent after the user presses "ok". # + # # Addtional +options+ are: # :rows:: Number of rows (more than 1 will use a TEXTAREA) # :cols:: Number of characters the text input should span (works for both INPUT and TEXTAREA) @@ -122,10 +123,10 @@ module ActionView # :on_show:: Like on_hide, only now the expression is called # then the div is shown. # :after_update_element:: A Javascript expression that is called when the - # user has selected one of the proposed values. - # The expression should take two variables: element and value. - # Element is a DOM element for the field, value - # is the value selected by the user. + # user has selected one of the proposed values. + # The expression should take two variables: element and value. + # Element is a DOM element for the field, value + # is the value selected by the user. # :select:: Pick the class of the element from which the value for # insertion should be extracted. If this is not specified, # the entire element is used. -- cgit v1.2.3