Updated wcDocker to the latest version

This commit is contained in:
Ashesh Vashi
2015-07-20 16:06:17 +05:30
parent 59e87183a1
commit 9d372a4555
17 changed files with 5224 additions and 1944 deletions

View File

@@ -33,8 +33,8 @@ function(_, pgAdmin) {
myPanle.title(false);
myPanel.closeable(that.isCloseable == true);
var $frameArea = $('<div style="width:100%;height:100%;position:relative;">');
myPanel.layout().addItem($frameArea).parent().css('height', '100%');
var $frameArea = $('<div style="width:100%;height:100%;position:relative;display:table">');
myPanel.layout().addItem($frameArea);
that.panel = myPanel;
that.frame = new wcIFrame($frameArea, myPanel);

View File

@@ -32,7 +32,12 @@ function(_, pgAdmin) {
else
myPanel.title(title || that.title);
myPanel.closeable(that.isCloseable == true);
myPanel.layout().addItem(that.content, 0, 0).parent().css('height', '100%');
myPanel.layout().addItem(
$('<div>', {
'class': 'pg-panel-content'
})
.append($(that.content))
);
that.panel = myPanel;
if (that.events && _.isObject(that.events)) {
_.each(that.events, function(v, k) {