projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
904c2af
)
Roo/bootstrap/Button.js
author
Alan Knowles
<alan@roojs.com>
Fri, 16 May 2014 08:30:34 +0000
(16:30 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 16 May 2014 08:30:34 +0000
(16:30 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
47f432a
..
5fce250
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-292,11
+292,19
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
this.fireEvent('click', this, e);
},
+
+ /**
+ * Enables this button
+ */
enable : function()
{
this.disabled = false;
this.el.removeClass('disabled');
},
+
+ /**
+ * Disable this button
+ */
disable : function()
{
this.disabled = true;