Fix iFrame panels on Firefox.

This commit is contained in:
Dave Page 2015-03-09 09:57:51 +00:00
parent dd78a2650c
commit c9b0273a14

View File

@ -53,7 +53,7 @@ function buildIFramePanel(docker, name, title, width, height, showTitle, isClose
myPanel.closeable(isCloseable); myPanel.closeable(isCloseable);
var $frameArea = $('<div style="width:100%;height:100%;position:relative;">'); var $frameArea = $('<div style="width:100%;height:100%;position:relative;">');
myPanel.layout().addItem($frameArea); myPanel.layout().addItem($frameArea).parent().css('height', '100%');
var iFrame = new wcIFrame($frameArea, myPanel); var iFrame = new wcIFrame($frameArea, myPanel);
iFrame.openURL(url); iFrame.openURL(url);