Allow the dashboard panel to be closed. Fixes #2506

This commit is contained in:
Khushboo Vashi
2017-06-30 10:11:34 +01:00
committed by Dave Page
parent 2d65312910
commit 501120701e
8 changed files with 73 additions and 21 deletions

View File

@@ -256,7 +256,7 @@ define([
// Create the debugger panel as per the data received from user input dialog.
var dashboardPanel = pgBrowser.docker.findPanels(
'dashboard'
'properties'
),
panel = pgBrowser.docker.addPanel(
'frm_debugger', wcDocker.DOCK.STACKED, dashboardPanel[0]
@@ -353,7 +353,7 @@ define([
// Create the debugger panel as per the data received from user input dialog.
var dashboardPanel = pgBrowser.docker.findPanels(
'dashboard'
'properties'
),
panel = pgBrowser.docker.addPanel(
'frm_debugger', wcDocker.DOCK.STACKED, dashboardPanel[0]

View File

@@ -562,7 +562,7 @@ define([
});
// Create the debugger panel as per the data received from user input dialog.
var dashboardPanel = pgBrowser.docker.findPanels('dashboard'),
var dashboardPanel = pgBrowser.docker.findPanels('properties'),
panel = pgBrowser.docker.addPanel(
'frm_debugger', wcDocker.DOCK.STACKED, dashboardPanel[0]
);