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
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;