From 9c97fbf45dd8c9a5cc47f89a183e7d0c24984597 Mon Sep 17 00:00:00 2001 From: Ben Summers Date: Wed, 10 Jan 2018 14:27:02 +0000 Subject: [PATCH] Reporting: Dashboards don't need E for deferred render. --- std_reporting/js/std_reporting_dashboards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std_reporting/js/std_reporting_dashboards.js b/std_reporting/js/std_reporting_dashboards.js index a4fb606..203b93b 100644 --- a/std_reporting/js/std_reporting_dashboards.js +++ b/std_reporting/js/std_reporting_dashboards.js @@ -28,7 +28,7 @@ P.REPORTING_API.dashboard = function(E, specification) { dashboard.E = E; dashboard.specification = specification; // dashboard filters on specification.filter - dashboard.isExporting = (E.request.method === "POST"); + dashboard.isExporting = E && (E.request.method === "POST"); // Collect extra columns and other configuration in a standardised way var callServices = [