projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37d50d6
)
Roo/bootstrap/Button.js
author
Edward
<edward@roojs.com>
Mon, 31 Mar 2014 10:32:52 +0000
(18:32 +0800)
committer
Edward
<edward@roojs.com>
Mon, 31 Mar 2014 10:32:52 +0000
(18:32 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
b74cbdb
..
7b8ce03
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-192,17
+192,16
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
}
if (this.badge) {
-
//
cfg.html += ' ';
-//
-
//
cfg.tag = 'a';
-//
-
//
cfg.cls=cfg.cls;
-//
-
//
cfg.href=this.href;
+ cfg.html += ' ';
+
+ cfg.tag = 'a';
+
+ cfg.cls=cfg.cls;
+
+ cfg.href=this.href;
cfg.cn = [
-
- cfg.cn,
+ cfg.html,
{
tag: 'span',
cls: 'badge',