Wegener.Alexander-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2007-May-09 16:26 UTC
Scriptaculous Sortables: dragging between sortables and reordering them by javascript?
Hello, I wanted to drag elements from one sortable to another - not a problem. the hard thing is that i want to call a JS function to reorder the elements by certain criterias (ranking f.e.). So the two involved sortables are firering two onUpdate event. When I am changing the order of the LI-elements of the first Sortable (by removing them and adding them again), the second onUpdate event will not be called. Workaround: call both reorder-functions by a small delay (window.setTimeout). Is this a bug? Bye, Alex --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---