From ce04ef36da97a086c4071c9537afceefc03d9dca Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Thu, 20 Sep 2012 09:29:16 +0100 Subject: [PATCH] setLayout on creating new tab Won't have height set on the editor instance otherwise --- lib/coder.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/coder.js b/lib/coder.js index 57d3e4b..94b1f94 100644 --- a/lib/coder.js +++ b/lib/coder.js @@ -424,6 +424,7 @@ var ICEcoder = { ICEcoder.selectedTab = ICEcoder.cMInstances.length; ICEcoder.content.style.visibility='visible'; ICEcoder.content.contentWindow.createNewCMInstance(ICEcoder.nextcMInstance); + ICEcoder.setLayout(); ICEcoder.thisFileFolderType='file'; ICEcoder.thisFileFolderLink='/[NEW]';