mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-28 21:08:48 +01:00
Bug #300: Disabled completion check box for pending items.
This commit is contained in:
parent
74fcaf407c
commit
45dd524519
1 changed files with 2 additions and 1 deletions
|
|
@ -82,7 +82,8 @@ module TodosHelper
|
|||
|
||||
|
||||
def remote_toggle_checkbox
|
||||
check_box_tag('item_id', toggle_check_todo_path(@todo), @todo.completed?, :class => 'item-checkbox')
|
||||
check_box_tag('item_id', toggle_check_todo_path(@todo), @todo.completed?, :class => 'item-checkbox',
|
||||
:disabled => @todo.pending?)
|
||||
end
|
||||
|
||||
def date_span
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue