search for: reinitalllist

Displaying 1 result from an estimated 1 matches for "reinitalllist".

Did you mean: reinitalllists
2006 Jun 24
0
Sortable with sortables? this.destroy not a function O_o
...Builder.node(''ul'', {id:''childsort_''randomId}) ]); // wrapping another div around the list for dragging. $(mainDiv).appendChild(sortlist); // append to dom myLists.push(''childsort_''randomId); // push to list array reinitAllLists(); // reinit all. enableSortable(); // make wrapper div sortable too } function reinitAllLists() { for(var i=0; i < myLists.length; i++) { // destroy avoids duplicate init automaticly new Sortable.create(myLists[i], { some options ..}); // each childsort.. } // all fine.. } func...