ziahamza/webui-aria2 — pull request #43 by carlmon (2013-01-05 09:47:46+00:00)
Title: Display queue order as Aria2 will download.

Change to preserve the order items from Aria2. This shows the correct queue order for waiting downloads.

There is still a problem when pausing & resuming a download which will add the "new" item to the bottom of the waiting queue on the UI even though Aria2 will resume it in the next open slot. A full page refresh fixes this, but it should really insert in the correct position. I tried to do this, but it gets tricky and may be better solved with an MVC structure.