From c9b0273a14960ce407bea8f5ab1476126cb6d86e Mon Sep 17 00:00:00 2001 From: Dave Page Date: Mon, 9 Mar 2015 09:57:51 +0000 Subject: [PATCH] Fix iFrame panels on Firefox. --- web/pgadmin/browser/templates/browser/js/browser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/pgadmin/browser/templates/browser/js/browser.js b/web/pgadmin/browser/templates/browser/js/browser.js index 258d450f6..f597d77e3 100644 --- a/web/pgadmin/browser/templates/browser/js/browser.js +++ b/web/pgadmin/browser/templates/browser/js/browser.js @@ -53,8 +53,8 @@ function buildIFramePanel(docker, name, title, width, height, showTitle, isClose myPanel.closeable(isCloseable); var $frameArea = $('
'); - myPanel.layout().addItem($frameArea); - + myPanel.layout().addItem($frameArea).parent().css('height', '100%'); + var iFrame = new wcIFrame($frameArea, myPanel); iFrame.openURL(url); }