This project is archived and is in readonly mode.

#140 ✓wontfix
Hector Maldonado

Sortable little workaround

Reported by Hector Maldonado | June 18th, 2008 @ 05:37 PM

I was working with the accordion and some sortables inside each accordion element and found a little problem when setting the sortable clone to true. Basicly internally the sortable manager is using the element.getOffsetParent() to position the cloned element and as i show in the picture firefox was getting confused with the coordinates.

I changed the line in the getClone: function(event, element) function from

//}).inject(this.list).position(element.getPosition(element.getOffsetParent()));

to

}).inject(this.list).position(element.getPosition(document));

and it started working correctly

Regards

hector

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Attachments

Pages