mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-02 14:11:46 +01:00
Whoops. The last changeset broke marking todos as done/not-done. Fixed.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@670 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
e39287230f
commit
8c7afc4c32
1 changed files with 2 additions and 1 deletions
|
|
@ -63,7 +63,8 @@ module TodosHelper
|
|||
def remote_toggle_checkbox
|
||||
str = check_box_tag('item_id', toggle_check_todo_path(@todo), @todo.completed?, :class => 'item-checkbox')
|
||||
apply_behavior '.item-container input.item-checkbox:click',
|
||||
remote_to_href(:method => 'put', :with => "{ _source_view : '#{@source_view}' }")
|
||||
remote_function(:url => javascript_variable('this.value'), :method => 'put',
|
||||
:with => "{ _source_view : '#{@source_view}' }")
|
||||
str
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue