projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e0e5ad
)
Roo/bootstrap/Button.js
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Jul 2014 09:49:34 +0000
(17:49 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Jul 2014 09:49:34 +0000
(17:49 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
5fce250
..
4fa7eb7
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-95,7
+95,7
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
} else {
cfg.tag = this.tag;
}
- cfg.html =
this.html || cfg.html
;
+ cfg.html =
'<span class="roo-button-text">' + (this.html || cfg.html) + '</span>'
;
if (this.toggle == true) {
cfg={
@@
-327,6
+327,10
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
this.setActive(!active);
+ },
+ setText : function(str)
+ {
+
}