projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf6ff35
)
Roo/bootstrap/Button.js
author
Edward
<edward@roojs.com>
Mon, 31 Mar 2014 10:19:19 +0000
(18:19 +0800)
committer
Edward
<edward@roojs.com>
Mon, 31 Mar 2014 10:19:19 +0000
(18:19 +0800)
Roo/bootstrap/Button.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Button.js
b/Roo/bootstrap/Button.js
index
7d4aa2d
..
99dd052
100644
(file)
--- a/
Roo/bootstrap/Button.js
+++ b/
Roo/bootstrap/Button.js
@@
-191,27
+191,6
@@
Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, {
];
}
- if (this.badge) {
- cfg.html += ' ';
-
- cfg.tag = 'a';
-
- cfg.cls='btn roo-button';
-
- cfg.href=this.href;
-
- cfg.cn = [
- cfg.html,
- {
- tag: 'span',
- cls: 'badge',
- html: this.badge
- }
- ];
-
- cfg.html='';
- }
-
if (cfg.tag !== 'a' && this.href !== '') {
throw "Tag must be a to set href.";
} else if (this.href.length > 0) {