setLayout on creating new tab

Won't have height set on the editor instance otherwise
This commit is contained in:
Matt Pass
2012-09-20 09:29:16 +01:00
parent 677e90ed6b
commit ce04ef36da

View File

@@ -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]';