From 284921a200d3f6e3afcb92d7455d842907ee4bca Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 23 Oct 2006 00:01:51 +0000 Subject: Docfix (closes #6462) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_view/helpers/scriptaculous_helper.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionpack/lib/action_view/helpers') 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 = {}) -- cgit v1.2.3