projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d196ce
)
Roo/bootstrap/Button.js
author
Alan Knowles
<alan@roojs.com>
Fri, 16 May 2014 08:20:17 +0000
(16:20 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 16 May 2014 08:20:17 +0000
(16:20 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
a890663
..
fda7977
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-97,7
+97,7
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
}
cfg.html = this.html || cfg.html;
- if (this.toggle ==
=
true) {
+ if (this.toggle == true) {
cfg={
tag: 'div',
cls: 'slider-frame roo-button',
@@
-302,9
+302,9
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
this.disabled = true;
this.el.addClass('disabled');
},
- set
Disabled
: function(v) {
+ set
Active
: function(v) {
- this[v ? '
disable' : 'enable'](
);
+ this[v ? '
addClass' : 'removeClass']('active'
);
}