mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-04 06:51:48 +01:00
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:
parent
cd1d0a1252
commit
84608ee355
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue