mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where Debugger and ERD tool panel give a blank white panel, missing from the last patch.
refs #6398
This commit is contained in:
committed by
Akshay Joshi
parent
462b86df8d
commit
5581f0909a
@@ -18,7 +18,7 @@ define([
|
||||
pgAdmin.Browser.Frame = function(options) {
|
||||
var defaults = [
|
||||
'name', 'title', 'width', 'height', 'showTitle', 'isCloseable',
|
||||
'isPrivate', 'url', 'icon', 'onCreate',
|
||||
'isPrivate', 'url', 'icon', 'onCreate', 'isLayoutMember',
|
||||
];
|
||||
_.extend(this, _.pick(options, defaults));
|
||||
};
|
||||
@@ -32,6 +32,7 @@ define([
|
||||
isClosable: true,
|
||||
isRenamable: false,
|
||||
isPrivate: false,
|
||||
isLayoutMember: false,
|
||||
url: '',
|
||||
icon: '',
|
||||
panel: null,
|
||||
@@ -43,6 +44,7 @@ define([
|
||||
docker.registerPanelType(this.name, {
|
||||
title: that.title,
|
||||
isPrivate: that.isPrivate,
|
||||
isLayoutMember: that.isLayoutMember,
|
||||
onCreate: function(myPanel) {
|
||||
$(myPanel).data('pgAdminName', that.name);
|
||||
myPanel.initSize(that.width, that.height);
|
||||
|
||||
Reference in New Issue
Block a user