mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-25 14:10:05 -05:00
Added support to rename query tool and debugger tabs. Fixes #4230
Fixed an issue where non-closeable tabs are getting closed. Fixes #5923
This commit is contained in:
1 parent
c2ad97d0ab
commit
c86a3d64fc
10 files changed
+90
-20
No files matched your search
@@ -30,6 +30,7 @@ define([
|
||||
height: 600,
|
||||
showTitle: true,
|
||||
isClosable: true,
|
||||
isRenamable: true,
|
||||
isPrivate: false,
|
||||
url: '',
|
||||
icon: '',
|
||||
@@ -52,6 +53,7 @@ define([
|
||||
myPanel.icon(that.icon);
|
||||
|
||||
myPanel.closeable(!!that.isCloseable);
|
||||
myPanel.renamable(that.isRenamable);
|
||||
|
||||
var $frameArea = $('<div style="position:absolute;top:0 !important;width:100%;height:100%;display:table;z-index:0;">');
|
||||
myPanel.layout().addItem($frameArea);
|
||||
|
||||
Reference in new issue
Block a user