fix default project map for tag view.

the initialisation of the default project map was not present in the tag view causing a javascript error in the browser
This commit is contained in:
Reinier Balt 2008-07-24 09:03:23 +02:00
parent aa695c186e
commit b9a772b9df

View file

@ -360,7 +360,9 @@ class TodosController < ApplicationController
# @default_project_context_name_map =
# build_default_project_context_name_map(@projects).to_json
respond_to do |format|
format.html
format.html {
@default_project_context_name_map = build_default_project_context_name_map(@projects).to_json
}
format.m {
cookies[:mobile_url]=request.request_uri
render :action => "mobile_tag"