From a7c2b81c60e69034f22759d18caeb4391278f843 Mon Sep 17 00:00:00 2001 From: Syed Asher Ahmed Date: Sat, 15 Apr 2017 17:28:28 +0000 Subject: [PATCH] Loading message styling in generated reports issue #45 --- imports/ui/components/dashboard/Dashboard.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/imports/ui/components/dashboard/Dashboard.jsx b/imports/ui/components/dashboard/Dashboard.jsx index 40ed635..8f2a1bc 100755 --- a/imports/ui/components/dashboard/Dashboard.jsx +++ b/imports/ui/components/dashboard/Dashboard.jsx @@ -167,8 +167,9 @@ class DashboardPage extends Component { report : report }; // prevent window popup block + let loader = '
Loading...
'; let win = window.open(''); - win.document.write("

Loading...

"); + win.document.write(loader); window.oldOpen = window.open; window.open = function(url) { win.location = url;