Snaggy
2007-Sep-21 18:20 UTC
sortable_element doesn''t update div nor call onComplete function
I have a sortable UL with LIs in it
example:
<ul id="my_list">
<li id="my_list_1"></li>
<li id="my_list_2"></li>
<li id="my_list_3"></li>
</ul>
<%= sortable_element("my_list", { :complete => "alert
(''hi'')", :handle
=> "drag", :update => "menu", :url => { :action
=> "order_menu" } } )
%>
nothing happens, nothing at all, after I have changed the order and
dropped the item in its new position. Why?
thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---