From: Edward Date: Mon, 16 Feb 2015 09:17:03 +0000 (+0800) Subject: Roo/bootstrap/dash/TabBox.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=60955b7f80a9c136b6b709dc782b5cf9a26351eb;p=roojs1 Roo/bootstrap/dash/TabBox.js --- 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] ; }