From 82b00821895776eb7734325225f810dbe7470e9d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 24 Sep 2015 13:15:25 +0800 Subject: [PATCH] Pman.js --- Pman.js | 5 +++++ 1 file changed, 5 insertions(+) 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%;' }); -- 2.39.2