From 3bc0ac8dd658cf3abd162cfe5ad5e8f8761be3c4 Mon Sep 17 00:00:00 2001 From: Florian Rathgeber Date: Tue, 26 Aug 2014 18:50:35 +0100 Subject: [PATCH] Re-enable http caching for dashboards --- app/scripts/natdashboardctrl.coffee | 2 +- app/scripts/regdashboardctrl.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/natdashboardctrl.coffee b/app/scripts/natdashboardctrl.coffee index b1b7a1f..c5e77da 100644 --- a/app/scripts/natdashboardctrl.coffee +++ b/app/scripts/natdashboardctrl.coffee @@ -7,7 +7,7 @@ angular.module('taarifaWaterpointsApp') # should http calls be cached # FIXME: should be application level setting - cacheHttp = false + cacheHttp = true $scope.gridsterOpts = { margins: [10, 10], diff --git a/app/scripts/regdashboardctrl.coffee b/app/scripts/regdashboardctrl.coffee index 333c3c2..128a800 100644 --- a/app/scripts/regdashboardctrl.coffee +++ b/app/scripts/regdashboardctrl.coffee @@ -4,7 +4,7 @@ angular.module('taarifaWaterpointsApp') gettext, modalSpinner, populationData) -> # should http calls be cached # FIXME: should be application level setting - cacheHttp = false + cacheHttp = true # FIXME: create our own statusColor version to prevent weird values # from modifying the original one