I’ve just run into this problem. It
seems that the problem is with Sortables.destroy. If you create a sortable
within another sortable then this line of dragdrop.js: this.destroy(element); Will actually end up destroying the
parent. Put this at the in your code after you include scriptaculous and it
should sort it out: Sortable.destroy = function(element){ var s = Sortable.options(element); if(s) {
if(element.id == s.element.id) { //Modification. Checks destroying
correct element.
Draggables.removeObserver(s.element);
s.droppables.each(function(d){ Droppables.remove(d) });
s.draggables.invoke('destroy');
delete Sortable.sortables[s.element.id];
} } } I’m not sure though if this might
have any undesirable knock-on effects…. From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Justin McCormack Hi, |
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs