From c719eeb14625a2d5e3da8fce27ec6cd6f76bd709 Mon Sep 17 00:00:00 2001 From: lukemelia Date: Sun, 17 Dec 2006 08:35:54 +0000 Subject: [PATCH] the tickler notification message was not getting shown when the periodical execute activated an action. Fixed. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@379 a4c988fc-2ded-0310-b66e-134b36920a42 --- tracks/app/views/todo/check_tickler.rjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tracks/app/views/todo/check_tickler.rjs b/tracks/app/views/todo/check_tickler.rjs index 7144f5c3..38bbb98d 100644 --- a/tracks/app/views/todo/check_tickler.rjs +++ b/tracks/app/views/todo/check_tickler.rjs @@ -1,3 +1,4 @@ unless @due_tickles.empty? - page.replace_html "info", content_tag("div", "#{@due_tickles.length.to_s} tickler items are now due - refresh the page to see them.", "class" => "warning") + #TODO: why not just add the new items here in addition to notifying? + page.notify :notice, "#{@due_tickles.length} tickler items are now due - refresh the page to see them.", 5.0 end \ No newline at end of file