From 4650361c17089c9c7f7f8d6c75c127abd1f44a51 Mon Sep 17 00:00:00 2001 From: lukemelia Date: Mon, 28 May 2007 05:33:05 +0000 Subject: [PATCH] Tracks now looks at user-entered projects and sets the context if their is a default context for the project and if the context has not yet been edited. Closes #506. git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@546 a4c988fc-2ded-0310-b66e-134b36920a42 --- tracks/app/views/shared/_add_new_item_form.rhtml | 2 +- tracks/test/fixtures/projects.yml | 1 + tracks/test/functional/todos_controller_test.rb | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/tracks/app/views/shared/_add_new_item_form.rhtml b/tracks/app/views/shared/_add_new_item_form.rhtml index 7d469a20..def1d9b6 100644 --- a/tracks/app/views/shared/_add_new_item_form.rhtml +++ b/tracks/app/views/shared/_add_new_item_form.rhtml @@ -57,7 +57,7 @@ Event.observe($('todo_project_name'), "blur", selectDefaultContext.bind($('todo_