fixes the remote_function to set the state of the project. Fixes #707

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@846 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lrbalt 2008-05-12 20:12:53 +00:00
parent cd1d0a1252
commit 84608ee355

View file

@ -46,7 +46,7 @@
<% end %>
<% apply_behavior "#project_status input:click",
remote_function(:url => project_path(@project), :method => :put,
:with => "{wants_render: false, update_status: true, 'project[state]' : this.value}" )
:with => "'wants_render=false&update_status=true&project[state]='+this.value" )
%>
</div>
</div>