mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-03 06:21:49 +01:00
Fixed #496 (drag-sort after Sort Alphabetically on projects page is broken).
However, the time it takes the browser to process the alphabetize Ajax response is unacceptably long. Not sure how to improve this yet. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@532 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
14f2067a1e
commit
e580372a76
1 changed files with 5 additions and 2 deletions
|
|
@ -1,3 +1,6 @@
|
|||
page.replace_html "list-#{@state}-projects",
|
||||
list_id = "list-#{@state}-projects"
|
||||
page.replace_html list_id,
|
||||
:partial => 'project_listing',
|
||||
:collection => @projects
|
||||
:collection => @projects
|
||||
page.sortable list_id, get_listing_sortable_options(list_id)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue