From bdefdf5d4ebf9495e2d877deff8d323e55816080 Mon Sep 17 00:00:00 2001 From: Ashesh Vashi Date: Mon, 31 Jul 2017 16:48:48 +0530 Subject: [PATCH] Requests for statistics were not stopped even when Dashboard panel is closed. It is a regression of webpack. --- web/pgadmin/browser/static/js/browser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/pgadmin/browser/static/js/browser.js b/web/pgadmin/browser/static/js/browser.js index aa6442e3a..a612dd1ab 100644 --- a/web/pgadmin/browser/static/js/browser.js +++ b/web/pgadmin/browser/static/js/browser.js @@ -196,7 +196,6 @@ define( }, add_panels: function() { /* Add hooked-in panels by extensions */ - //debugger; var panels = JSON.parse(pgBrowser.panels_items); _.each(panels, function(panel) { if (panel.isIframe) { @@ -222,7 +221,8 @@ define( isCloseable: panel.isCloseable, isPrivate: panel.isPrivate, content: (panel.content) ? panel.content : '', - events: (panel.events) ? panel.events : '' + events: (panel.events) ? panel.events : '', + canHide: (panel.canHide) ? panel.canHide : '' }) } });