mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where the last message is not visible in the Debugger. Fixes #6713
This commit is contained in:
committed by
Akshay Joshi
parent
89d40d38d9
commit
f1c04096e5
@@ -23,4 +23,5 @@ Bug fixes
|
|||||||
|
|
||||||
| `Issue #2546 <https://redmine.postgresql.org/issues/2546>`_ - Added support to create the Partitioned table using COLLATE and opclass.
|
| `Issue #2546 <https://redmine.postgresql.org/issues/2546>`_ - Added support to create the Partitioned table using COLLATE and opclass.
|
||||||
| `Issue #6712 <https://redmine.postgresql.org/issues/6712>`_ - Fixed an issue where collapse and expand arrows mismatch in case of nested IF.
|
| `Issue #6712 <https://redmine.postgresql.org/issues/6712>`_ - Fixed an issue where collapse and expand arrows mismatch in case of nested IF.
|
||||||
|
| `Issue #6713 <https://redmine.postgresql.org/issues/6713>`_ - Fixed an issue where the last message is not visible in the Debugger.
|
||||||
| `Issue #6724 <https://redmine.postgresql.org/issues/6724>`_ - Fixed an issue where the drop cascade button enables for Databases.
|
| `Issue #6724 <https://redmine.postgresql.org/issues/6724>`_ - Fixed an issue where the drop cascade button enables for Databases.
|
||||||
|
|||||||
@@ -1684,6 +1684,24 @@ define([
|
|||||||
docker.addPanel('stack_pane', wcDocker.DOCK.STACKED, parameters_panel);
|
docker.addPanel('stack_pane', wcDocker.DOCK.STACKED, parameters_panel);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This function is responsible for adjusting the message height
|
||||||
|
* so that the message does not cut down.
|
||||||
|
* @function setMessagePanelHeight
|
||||||
|
*/
|
||||||
|
setMessagePanelHeight: function() {
|
||||||
|
var self = this,
|
||||||
|
dockerPane = self.docker.$container[0];
|
||||||
|
if(dockerPane.children.length > 2) {
|
||||||
|
var bottomPane = dockerPane.children[2],
|
||||||
|
message_height = $(bottomPane).height() - 75;
|
||||||
|
$($(dockerPane).find('#messages')[0]).css({
|
||||||
|
'height': message_height + 'px',
|
||||||
|
'padding-bottom': 5 + 'px'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
// Create the debugger layout with splitter and display the appropriate data received from server.
|
// Create the debugger layout with splitter and display the appropriate data received from server.
|
||||||
intializePanels: function() {
|
intializePanels: function() {
|
||||||
var self = this;
|
var self = this;
|
||||||
@@ -1757,8 +1775,10 @@ define([
|
|||||||
|
|
||||||
// restore the layout if present else fallback to buildDefaultLayout
|
// restore the layout if present else fallback to buildDefaultLayout
|
||||||
pgBrowser.restore_layout(self.docker, self.layout, this.buildDefaultLayout.bind(this));
|
pgBrowser.restore_layout(self.docker, self.layout, this.buildDefaultLayout.bind(this));
|
||||||
|
self.setMessagePanelHeight();
|
||||||
|
|
||||||
self.docker.on(wcDocker.EVENT.LAYOUT_CHANGED, function() {
|
self.docker.on(wcDocker.EVENT.LAYOUT_CHANGED, function() {
|
||||||
|
self.setMessagePanelHeight();
|
||||||
pgBrowser.save_current_layout('Debugger/Layout', self.docker);
|
pgBrowser.save_current_layout('Debugger/Layout', self.docker);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user