projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e1f9df
)
Roo/bootstrap/Button.js
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Jul 2014 09:58:34 +0000
(17:58 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Jul 2014 09:58:34 +0000
(17:58 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
4b2d5b9
..
4626b5d
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-331,10
+331,17
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
setText : function(str)
{
this.el.select('.roo-button-text',true).first().dom.innerHTML = str;
+ },
+ hide: function() {
+
+ this.el.hide();
+ },
+ show: function() {
+
+ this.el.show();
}
-
});
\ No newline at end of file