projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8787158
)
Roo/bootstrap/Button.js
author
Alan Knowles
<alan@roojs.com>
Fri, 16 May 2014 08:13:14 +0000
(16:13 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 16 May 2014 08:13:14 +0000
(16:13 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
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']();
}