projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddbcec3
)
Roo/bootstrap/Button.js
author
Julian Knowles
<julian@roojs.com>
Mon, 27 Jan 2014 10:52:01 +0000
(18:52 +0800)
committer
Julian Knowles
<julian@roojs.com>
Mon, 27 Jan 2014 10:52:01 +0000
(18:52 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
a1ea4d8
..
6e0f671
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-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;
}