hi all i cant get draggable lists to work once a list becomes empty
can anyone help? here is my code to make the lists draggable, ive
experimented with css to see if that helps but as yet no success :-(
<%= sortable_element 'grocery-list',
:url => { :action => "sort", :id => @grocery_list },
:complete => visual_effect(:highlight, 'grocery-list'),
:containment => ["grocery-list", "grocery-list-2"],
:constraint => false
%>
<%= sortable_element 'grocery-list-2',
:url => { :action => "sort", :id => @grocery_list },
:complete => visual_effect(:highlight, 'grocery-list'),
:containment => ["grocery-list-2", "grocery-list"],
:constraint => false
%>
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---