From: Edward Date: Mon, 31 Mar 2014 10:49:37 +0000 (+0800) Subject: Roo/bootstrap/Button.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=69e620f8f84f4e7ff62d519bb13e86b6e3a609b4;p=roojs1 Roo/bootstrap/Button.js --- diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 3248ddf885..7d4aa2dda8 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -190,8 +190,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { } ]; } - Roo.log('cfg'); - Roo.log(cfg) + if (this.badge) { cfg.html += ' '; @@ -202,7 +201,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { cfg.href=this.href; cfg.cn = [ - cfg.cn, + cfg.html, { tag: 'span', cls: 'badge',