Changeset 846

Show
Ignore:
Timestamp:
05/12/08 20:12:53
Author:
lrbalt
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tracks/app/views/projects/show.html.erb

    r837 r846  
    4747   <% apply_behavior "#project_status input:click", 
    4848                     remote_function(:url => project_path(@project), :method => :put, 
    49                                      :with => "{wants_render: false, update_status: true, 'project[state]' : this.value}" ) 
     49                                     :with => "'wants_render=false&update_status=true&project[state]='+this.value" ) 
    5050   %> 
    5151  </div>