projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Roo/bootstrap/Button.js
[roojs1]
/
Roo
/
bootstrap
/
Button.js
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
84273b6
..
a890663
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-302,8
+302,9
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
this.disabled = true;
this.el.addClass('disabled');
},
- toggle : function(v) {
- this[v ? 'enable' : 'disable']();
+ setDisabled : function(v) {
+
+ this[v ? 'disable' : 'enable']();
}