Roo/bootstrap/NavItem.js
authorAlan Knowles <alan@roojs.com>
Wed, 5 Dec 2018 07:53:02 +0000 (15:53 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 5 Dec 2018 07:53:02 +0000 (15:53 +0800)
Roo/bootstrap/NavItem.js

index 9711595..cdbd66f 100644 (file)
@@ -78,7 +78,7 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component,  {
     animateRef : false,
     was_active : false,
     button_weight : '',
-    button_outline : null,
+    button_outline : false,
     
     navLink: false,
     
@@ -99,9 +99,9 @@ Roo.extend(Roo.bootstrap.NavItem, Roo.bootstrap.Component,  {
        if (this.button_weight.length) {
            cfg.tag = this.href ? 'a' : 'button';
            cfg.html = this.html || '';
-           cfg.cls += ' btn' + btn-
+           cfg.cls += ' btn' + (this.btn_outline ? '-outline' : '') + this.button_weight;
            if (this.href) {
-               //code
+               
            }