From: Alan Knowles Date: Thu, 24 Sep 2015 05:15:25 +0000 (+0800) Subject: Pman.js X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=82b00821895776eb7734325225f810dbe7470e9d Pman.js --- diff --git a/Pman.js b/Pman.js index c3df8c27..14d5e018 100644 --- a/Pman.js +++ b/Pman.js @@ -236,6 +236,11 @@ Pman = new Roo.Document( //console.log( "t7:" + ((new Date())-stime)); + if (!Pman.layout.getRegion('center').tabs) { + Roo.log("Error could not find tabs? - not adding toolbar?"); + return; + } + var se = Pman.layout.getRegion('center').tabs.stripEl; var tbh = se.createChild( { tag: 'td', style: 'width:100%;' });