connectToSortable not passing helper, but originating element
I am trying to use connectToSortable on draggable that has helper defined by function. The sortable keeps recieving the originating function instead of the helper.
- $(this).draggable({
- connectToSortable: '#swe-paper',
- helper: function() {
- return $(this).clone().removeAttr("id").addClass( "swe-sign-in-move" );
- },
- …
- });
This works well the helper has the id removed and added the class. The sortable has the originating element, which I can't manage to change. Bug?