Hey Doug, Doug a écrit : > When i add a new <li> to the <ul> tag using Insertion.Bottom() > the <li> is visible but the sortable functionality is gone!!! > I wonder how I could enable that sortable for the <ul> again.
Well, creating a sortable statically creates droppables/draggables over existing DOM elements. New elements in there are out of the game, you see. So if you need to update the contents of a sortable, you must destroy+create the sortable all over again (which is close to instantaneous, btw, unless you have a very large amount of items in there). See this thread: http://groups.google.com/group/rubyonrails-spinoffs/browse_thread/thread/62591e53cec164f3/fd34a112aa5dfadb -- Christophe Porteneuve a.k.a. TDD "[They] did not know it was impossible, so they did it." --Mark Twain Email: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs -~----------~----~----~----~------~----~------~--~---
