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:
lukemelia 2007-04-16 02:43:15 +00:00
parent 14f2067a1e
commit e580372a76

View file

@ -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)