Ticket #7741 (closed bug: fixed)
ui.sortable is not working when it is extended
|Reported by:||TomWolk||Owned by:|
I extended the ui.sortable widget to add some additional functionality. I gave the new widget a new name so I can still use the original sortable.
But with a new name 2 methods stopped working because the name of the widget was hard coded in those methods.
I changed the line
var inst = $.data(cur[j], 'sortable');
var inst = $.data(cur[j], this.widgetName);
in the methods
_getItemsAsjQuery and _refreshItems
and now it works!