Commits

pjenvey  committed ee6aa1d

[svn] o Sync'd scriptaculous helper to 6057 (nothing to do)
o Sync'd scriptaculous helper to 6057 (small doc change)

  • Participants
  • Parent commits 1eb1657

Comments (0)

Files changed (3)

   highlights text with the CSS class name 'hilight' by default: it now uses the
   CSS class name 'highlight' instead. The function's 'hilighter' keyword
   argument has also been deprecated, use 'highlighter' instead.
+* Sync'd Prototype helper to 6057.
 * Sync'd Urls helper to 6070.
 * Sync'd Text helper to 6096.
 * Sync'd Date helper to 6080.

File webhelpers/rails/prototype.py

 See also `Scriptaculous <module-railshelpers.helpers.scriptaculous.html>`_ for
 helpers which work with the Scriptaculous controls and visual effects library.
 """
-# Last synced with Rails copy at Revision 4235 on Aug 19th, 2006.
+# Last synced with Rails copy at Revision 6057 on Feb 9th, 2007.
 
 import sys
 if sys.version < '2.4':

File webhelpers/rails/scriptaculous.py

 See the documentation at http://script.aculo.us for more information on
 using these helpers in your application.
 """
-# Last synced with Rails copy at Revision 3772 on Aug 19th, 2006.
+# Last synced with Rails copy at Revision 6057 on Feb 9th, 2007.
 import simplejson as json
 from prototype import *
 from javascript import options_for_javascript, array_or_string_for_javascript
     sortable consists of, in the current order (like
     ``mylist=item1&mylist=item2``, where ``item1`` and ``item2`` are
     the ids of the ``<li>`` elements).
+
+    Note: 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.