Roo/bootstrap/Navbar.js
authorAlan Knowles <alan@roojs.com>
Thu, 21 Aug 2014 06:57:21 +0000 (14:57 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Aug 2014 06:57:21 +0000 (14:57 +0800)
Roo/bootstrap/Navbar.js

index 8f015b2..a261a81 100644 (file)
@@ -43,7 +43,7 @@ Roo.extend(Roo.bootstrap.Navbar, Roo.bootstrap.Component,  {
     inverse: false,
     position: '',
     align : false,
-    type: 'nav',
+    type: false,
     arrangement: '',
     brand_href: false,
     main : false,
@@ -147,7 +147,7 @@ Roo.extend(Roo.bootstrap.Navbar, Roo.bootstrap.Component,  {
                 tag : 'ul'
             }
         ];
-        
+        this.type = this.type || 'nav';
         if (['tabs','pills'].indexOf(this.type)!==-1) {
             cfg.cn[0].cls += ' nav-' + this.type
         } else {