aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-04-27 17:26:39 +0000
committerRick Olson <technoweenie@gmail.com>2006-04-27 17:26:39 +0000
commitcd29c33616e1c54721a16bb79cf3d4fbb6d8f931 (patch)
treea765227b4a72b28684215820a57671a1036d4eee /actionpack/lib/action_view
parent43ee8ab6e2aa1efeb848885ed51f14709990cc08 (diff)
downloadrails-cd29c33616e1c54721a16bb79cf3d4fbb6d8f931.tar.gz
rails-cd29c33616e1c54721a16bb79cf3d4fbb6d8f931.tar.bz2
rails-cd29c33616e1c54721a16bb79cf3d4fbb6d8f931.zip
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
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r--actionpack/lib/action_view/helpers/java_script_macros_helper.rb9
1 files changed, 5 insertions, 4 deletions
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
# <tt>:url</tt>:: Specifies the url where the updated value should
# be sent after the user presses "ok".
#
+ #
# Addtional +options+ are:
# <tt>:rows</tt>:: Number of rows (more than 1 will use a TEXTAREA)
# <tt>:cols</tt>:: Number of characters the text input should span (works for both INPUT and TEXTAREA)
@@ -122,10 +123,10 @@ module ActionView
# <tt>:on_show</tt>:: Like on_hide, only now the expression is called
# then the div is shown.
# <tt>:after_update_element</tt>:: 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.
# <tt>:select</tt>:: 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.