From 69e620f8f84f4e7ff62d519bb13e86b6e3a609b4 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 31 Mar 2014 18:49:37 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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', -- 2.39.2