Roo/bootstrap/TabPanel.js
authorAlan Knowles <alan@roojs.com>
Wed, 4 Feb 2015 07:04:57 +0000 (15:04 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 4 Feb 2015 07:04:57 +0000 (15:04 +0800)
Roo/bootstrap/TabPanel.js

index 918f59a..01f7ee9 100644 (file)
@@ -70,9 +70,8 @@ Roo.extend(Roo.bootstrap.TabPanel, Roo.bootstrap.Component,  {
         
         if (typeof(this.navId) != 'undefined') {
             // not really needed.. but just in case.. parent should be a NavGroup.
-            var tg = Roo.bootstrap.TabGroup.get(p.navId);
-            this.navId = this.navId || p.navId;
-            Roo.log(['register', tg, this]);
+            var tg = Roo.bootstrap.TabGroup.get(this.navId);
+             Roo.log(['register', tg, this]);
             tg.register(this);
         }
     },