Allow the user to close the dashboard panel. Fixes #2506

This commit is contained in:
Khushboo Vashi
2017-06-27 09:21:24 -04:00
committed by Dave Page
parent c65158312d
commit a87ee6d059
7 changed files with 71 additions and 19 deletions

View File

@@ -377,7 +377,7 @@ define([
newWin.document.title = grid_title;
});
} else {
var dashboardPanel = pgBrowser.docker.findPanels('dashboard');
var dashboardPanel = pgBrowser.docker.findPanels('properties');
var dataGridPanel = pgBrowser.docker.addPanel('frm_datagrid', wcDocker.DOCK.STACKED, dashboardPanel[0]);
// Set panel title and icon
@@ -493,7 +493,7 @@ define([
/* On successfully initialization find the dashboard panel,
* create new panel and add it to the dashboard panel.
*/
var dashboardPanel = pgBrowser.docker.findPanels('dashboard');
var dashboardPanel = pgBrowser.docker.findPanels('properties');
var queryToolPanel = pgBrowser.docker.addPanel('frm_datagrid', wcDocker.DOCK.STACKED, dashboardPanel[0]);
// Set panel title and icon

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]
);