First time poster - hope I’ve done sufficient homework to get more than
In my view, I have a
- list wherein each list element is identified
- <%= task.Description %> <% end %>
an id, thusly:
<% for task in @tasks %>
Next I have a sortable that is intended to make a callback after things
<%= sortable_element :todoHandle, :handle => ‘handle’ ,
:dropOnEmpty => true,
:onUpdate => ??? %>
What I would like to understand is how to define an action which may be
called from onUpdate in order to resequence the tasks (in the database).
Most grateful for clues.