Im using Scriptaculous v1.7 to perform sortable drag drop.  My display
uses:

Sortable.create('DocumentContainer_1',{tag:'div',onUpdate:SortUpdate,
handle:'Gripper',constraint:false,scroll:window});

There are about 5 div blocks with gripper hanldes next  to them.  Drag
drop sorting works fine.  Later i perform an AJAX update within the
child region of the gripper div block updating it with new content.
Im trying to ALSO apply Sortable.create to this new content like so:

Sortable.create('Attachments_123',{tag:'div',overlap:'horizontal',
onUpdate:SortUpdateAttachment,
only:'AttachmentFile',constraint:false});

Whats happening here is the inner contents is made draggable within
its region amongst its 10 objects.  The sorting works fine.

The prob im having is   once i apply the Sortable.create for the
gripper child objects, the main level sortable objects stop working.

Why does this occur?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to