Fixes #401. "When adding a Project on the projects page, the form is submitted and Project added, but the page does not update to show the new Project (a manual refresh is needed)."

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@353 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2006-11-20 12:28:55 +00:00
parent bb1cfe613a
commit 6ed264c198

View file

@ -1,5 +1,4 @@
if @saved
page.hide "warning"
page.insert_html :bottom, "list-projects", :partial => 'project_listing', :locals => { :project_listing => @project }
page.sortable "list-projects", get_listing_sortable_options
page.call "Form.reset", "project-form"