From 60955b7f80a9c136b6b709dc782b5cf9a26351eb Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 16 Feb 2015 17:17:03 +0800 Subject: [PATCH] Roo/bootstrap/dash/TabBox.js --- Roo/bootstrap/dash/TabBox.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Roo/bootstrap/dash/TabBox.js b/Roo/bootstrap/dash/TabBox.js index e9d7398826..ce6c1fd9da 100644 --- a/Roo/bootstrap/dash/TabBox.js +++ b/Roo/bootstrap/dash/TabBox.js @@ -178,11 +178,11 @@ Roo.apply(Roo.bootstrap.dash.TabBox, { * @param {string} the box name * @returns {Roo.bootstrap.dash.TabBox} the box */ - get: function(navId) { - if (typeof(this.groups[navId]) == 'undefined') { - this.register(new Roo.bootstrap.TabGroup({ navId : navId })); + get: function(name) { + if (typeof(this.boxes[name]) == 'undefined') { + this.register(new Roo.bootstrap.dash.TabBox({ name : name })); } - return this.groups[navId] ; + return this.boxes[name] ; } -- 2.39.2