diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-10-23 00:01:51 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-10-23 00:01:51 +0000 |
commit | 284921a200d3f6e3afcb92d7455d842907ee4bca (patch) | |
tree | afabad9661bd5d0a72191613fc15b9898ca759ca /actionpack | |
parent | b34ed9b33939d5e51bde7a1233da04633ac961c1 (diff) | |
download | rails-284921a200d3f6e3afcb92d7455d842907ee4bca.tar.gz rails-284921a200d3f6e3afcb92d7455d842907ee4bca.tar.bz2 rails-284921a200d3f6e3afcb92d7455d842907ee4bca.zip |
Docfix (closes #6462)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/helpers/scriptaculous_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/helpers/scriptaculous_helper.rb b/actionpack/lib/action_view/helpers/scriptaculous_helper.rb index 263be5d032..2c416b0026 100644 --- a/actionpack/lib/action_view/helpers/scriptaculous_helper.rb +++ b/actionpack/lib/action_view/helpers/scriptaculous_helper.rb @@ -69,6 +69,11 @@ module ActionView # containing the values of the ids of elements the sortable consists # of, in the current order. # + # Important: For this to work, the sortable elements must have id + # attributes in the form "string_identifier". For example, "item_1". Only + # the identifier part of the id attribute will be serialized. + # + # # You can change the behaviour with various options, see # http://script.aculo.us for more documentation. def sortable_element(element_id, options = {}) |