Permalink
Browse files

Fixes bad rendering of JavaScriptMacrosHelper rdoc (closes #4910) [Fr…

…ederick Ros]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 43ee8ab commit cd29c33616e1c54721a16bb79cf3d4fbb6d8f931 @technoweenie technoweenie committed Apr 27, 2006
Showing with 7 additions and 4 deletions.
  1. +2 −0 actionpack/CHANGELOG
  2. +5 −4 actionpack/lib/action_view/helpers/java_script_macros_helper.rb
View
@@ -1,5 +1,7 @@
*SVN*
+* Fixes bad rendering of JavaScriptMacrosHelper rdoc (closes #4910) [Frederick Ros]
+
* Allow error_messages_for to report errors for multiple objects, as well as support for customizing the name of the object in the error summary header. Closes #4186. [andrew@redlinesoftware.com, Marcel Molina Jr.]
error_messages_for :account, :user, :subscription, :object_name => :account
@@ -27,6 +27,7 @@ module JavaScriptMacrosHelper
# <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 @@ def in_place_editor_field(object, method, tag_options = {}, in_place_editor_opti
# <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.

0 comments on commit cd29c33

Please sign in to comment.