mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-06 09:18:50 +01:00
Fixed #484. There was a bug preventing validation errors from appearing when editing todos. In addition, todos now have their state updated before loading the tickler page.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@536 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
ff28a733bd
commit
274cdba18c
2 changed files with 2 additions and 1 deletions
|
|
@ -255,6 +255,7 @@ class TodosController < ApplicationController
|
|||
def list_deferred
|
||||
@source_view = 'deferred'
|
||||
@page_title = "TRACKS::Tickler"
|
||||
@user.deferred_todos.find_and_activate_ready
|
||||
@tickles = @user.deferred_todos
|
||||
@count = @tickles.size
|
||||
@default_project_context_name_map = build_default_project_context_name_map(@projects).to_json
|
||||
|
|
|
|||
|
|
@ -69,5 +69,5 @@ if @saved
|
|||
|
||||
else
|
||||
page.show 'error_status'
|
||||
page.replace_html 'error_status', "#{error_messages_for('item')}"
|
||||
page.replace_html 'error_status', "#{error_messages_for('todo')}"
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue