Roo/bootstrap/Button.js
authorJulian Knowles <julian@roojs.com>
Mon, 27 Jan 2014 10:52:01 +0000 (18:52 +0800)
committerJulian Knowles <julian@roojs.com>
Mon, 27 Jan 2014 10:52:01 +0000 (18:52 +0800)
Roo/bootstrap/Button.js

index a1ea4d8..6e0f671 100644 (file)
@@ -105,7 +105,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
                 if (this.parentType != 'Navbar') {
                     this.weight = this.weight.length ?  this.weight : 'default';
                 }
-                if (['default', 'primary', 'success', 'info', 'warning', 'danger', 'link'].indexOf(this.weight) > -1&&this.theme===false) {
+                if (['default', 'primary', 'success', 'info', 'warning', 'danger', 'link'].indexOf(this.weight) > -1) {
                     
                     cfg.cls += ' btn-' + this.weight;
                 }