Roo/bootstrap/dash/TabBox.js
authorEdward <edward@roojs.com>
Mon, 16 Feb 2015 09:17:03 +0000 (17:17 +0800)
committerEdward <edward@roojs.com>
Mon, 16 Feb 2015 09:17:03 +0000 (17:17 +0800)
Roo/bootstrap/dash/TabBox.js

index e9d7398..ce6c1fd 100644 (file)
@@ -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] ;
     }