[p2pu-dev] A long way to go for sorting tasks
alison at p2pu.org
Tue Feb 7 18:35:20 UTC 2012
Sounds like there's enough understanding amongst ya'll to make this happen.
I will bake 2 dozen virtual cookies and make a public blog post thanking
you for it.
On Wed, Feb 1, 2012 at 2:15 PM, Dan Diebolt <dandiebolt at gmail.com> wrote:
> Actually the client side library (jQuery UI sortable) needed to allow
> sorting of the task items is already delivered in the course page and to
> invoke it you only need this one additional statement:
> $("#content-pages ul").sortable()
> Type this command into the console and you can sort the tasks by dragging
> and dropping.
> The problem is that more work would be needed in the back end to save the
> new sorted order of the tasks via an Ajax call without reloading the page.
> As it stands now you only have support for moving an individual task up or
> down one step and the URL reloads the page:
> What I do to get around these limitations like this is to code all my
> interface modifications in a GreaseMonkey script so they automatically get
> applied when the page loads.
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the p2pu-dev