B
bs9999
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?
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?