[Rails-spinoffs] disable Sortable

Thomas Fuchs
Fri, 05 Aug 2005 14:24:44 -0000

V1.1beta1 of script.aculo.us adds this, so you can call
Sortable.destroy(''your_sortable_id'').

Thomas

Am 05.08.2005 um 22:14 schrieb Dave Strus:

> Can a Sortable be disabled/deactivated/destroyed once it''s been
> created?
> I''ve tried a few different things with no success.
>
> Here''s what I''m doing:
>
> I have an ordered list. When a particular event happens, I created a
> Sortable from the list. I clone the list prior to creating the
> Sortable so I
> can revert to the original list if sorting is canceled. If,
> however, I want
> to keep the changes but disallow further sorting, I''m stuck.
>
> Any ideas?
>
> Thanks,
> Dave Strus
>
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>