Fixed an issue - not displaying query tool & debugger from the runtime.

In order to resolve the issue, set the height, width of the area (div)
under the wcFrame. wcIFrame consider the height, and width of this
container to determine the height, width & position of the iframe.
This commit is contained in:
Neel Patel 2016-05-19 15:53:55 +05:30 committed by Ashesh Vashi
parent 3a9b331df6
commit 9a832086c5

View File

@ -41,7 +41,7 @@ function(_, pgAdmin) {
myPanel.closeable(!!that.isCloseable); myPanel.closeable(!!that.isCloseable);
var $frameArea = $('<div style="width:100%;height:100%;position:relative;display:table">'); var $frameArea = $('<div style="position:absolute;top:0 !important;min-width:100%;min-height:100%;display:table">');
myPanel.layout().addItem($frameArea); myPanel.layout().addItem($frameArea);
that.panel = myPanel; that.panel = myPanel;
var frame = new wcIFrame($frameArea, myPanel); var frame = new wcIFrame($frameArea, myPanel);