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:
lukemelia 2007-04-18 03:23:33 +00:00
parent ff28a733bd
commit 274cdba18c
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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