mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-16 10:15:24 -06:00
Ensure that the user should not be able to add duplicate panels. Fixes #6399
This commit is contained in:
parent
bd7808a104
commit
0bb40de1c4
@ -30,6 +30,7 @@ Bug fixes
|
||||
| `Issue #6377 <https://redmine.postgresql.org/issues/6377>`_ - Fixed an issue where schema diff does not create DROP DEFAULT statement for columns.
|
||||
| `Issue #6385 <https://redmine.postgresql.org/issues/6385>`_ - Ensure that Backup and Restore should work on shared servers.
|
||||
| `Issue #6392 <https://redmine.postgresql.org/issues/6392>`_ - Fixed an issue where the filter 'Include/Exclude By Selection' not working for null values.
|
||||
| `Issue #6399 <https://redmine.postgresql.org/issues/6399>`_ - Ensure that the user should not be able to add duplicate panels.
|
||||
| `Issue #6407 <https://redmine.postgresql.org/issues/6407>`_ - Added support for the creation of Nested Table and Varying Array Type for Advanced Server.
|
||||
| `Issue #6408 <https://redmine.postgresql.org/issues/6408>`_ - Fixed ModuleNotFoundError when running setup.py from outside of the root.
|
||||
| `Issue #6409 <https://redmine.postgresql.org/issues/6409>`_ - Fixed an issue where the current debug line is not visible in the 'Dark' theme.
|
||||
|
@ -230,6 +230,7 @@ define('pgadmin.browser', [
|
||||
isCloseable: false,
|
||||
isPrivate: true,
|
||||
icon: '',
|
||||
limit: 1,
|
||||
content: '<div id="tree" class="aciTree"></div>',
|
||||
onCreate: function(panel) {
|
||||
toolBar.initializeToolbar(panel, wcDocker);
|
||||
@ -244,6 +245,7 @@ define('pgadmin.browser', [
|
||||
isCloseable: false,
|
||||
isPrivate: true,
|
||||
elContainer: true,
|
||||
limit: 1,
|
||||
content: '<div class="obj_properties container-fluid"><div role="status" class="pg-panel-message">' + select_object_msg + '</div></div>',
|
||||
events: panelEvents,
|
||||
onCreate: function(myPanel, $container) {
|
||||
@ -258,6 +260,7 @@ define('pgadmin.browser', [
|
||||
width: 500,
|
||||
isCloseable: true,
|
||||
isPrivate: false,
|
||||
limit : 1,
|
||||
canHide: true,
|
||||
content: '<div class="negative-space p-2"><div role="status" class="pg-panel-message pg-panel-statistics-message">' + select_object_msg + '</div><div class="pg-panel-statistics-container d-none"></div></div>',
|
||||
events: panelEvents,
|
||||
@ -270,6 +273,7 @@ define('pgadmin.browser', [
|
||||
width: 500,
|
||||
isCloseable: false,
|
||||
isPrivate: true,
|
||||
limit: 1,
|
||||
content: '<label for="sql-textarea" class="sr-only">' + gettext('SQL Code') + '</label><div class="sql_textarea"><textarea id="sql-textarea" name="sql-textarea" title="' + gettext('SQL Code') + '"></textarea></div>',
|
||||
}),
|
||||
// Dependencies of the object
|
||||
@ -281,6 +285,7 @@ define('pgadmin.browser', [
|
||||
isCloseable: true,
|
||||
isPrivate: false,
|
||||
canHide: true,
|
||||
limit: 1,
|
||||
content: '<div class="negative-space p-2"><div role="status" class="pg-panel-message pg-panel-depends-message">' + select_object_msg + '</div><div class="pg-panel-dependencies-container d-none"></div></div>',
|
||||
events: panelEvents,
|
||||
}),
|
||||
@ -292,6 +297,7 @@ define('pgadmin.browser', [
|
||||
width: 500,
|
||||
isCloseable: true,
|
||||
isPrivate: false,
|
||||
limit: 1,
|
||||
canHide: true,
|
||||
content: '<div class="negative-space p-2"><div role="status" class="pg-panel-message pg-panel-depends-message">' + select_object_msg + '</div><div class="pg-panel-dependents-container d-none"></div></div>',
|
||||
events: panelEvents,
|
||||
@ -345,6 +351,7 @@ define('pgadmin.browser', [
|
||||
showTitle: panel.showTitle,
|
||||
isCloseable: panel.isCloseable,
|
||||
isPrivate: panel.isPrivate,
|
||||
limit: (panel.limit) ? panel.limit : null,
|
||||
content: (panel.content) ? panel.content : '',
|
||||
events: (panel.events) ? panel.events : '',
|
||||
canHide: (panel.canHide) ? panel.canHide : '',
|
||||
|
Loading…
Reference in New Issue
Block a user