From f0e5c3841d611ddcc720e37e9715805d90768c93 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Mon, 30 Mar 2009 22:37:03 +0200 Subject: [PATCH] refactor js of new todo form: share projects and contexts array over all edit forms this will hopefully decrease memory usage and also the get-form ajax should result in less data to be retrieved --- app/views/shared/_add_new_item_form.rhtml | 3 ++- app/views/todos/_edit_form.rhtml | 4 ++-- app/views/todos/calendar.html.erb | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/views/shared/_add_new_item_form.rhtml b/app/views/shared/_add_new_item_form.rhtml index c40c1fb9..973434a7 100644 --- a/app/views/shared/_add_new_item_form.rhtml +++ b/app/views/shared/_add_new_item_form.rhtml @@ -70,6 +70,7 @@