From 29321870a2ac060d4194c6a8fabd236f6d9aa1a2 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 31 Mar 2014 18:32:03 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 7b8ce0371d..b74cbdb1dd 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -192,16 +192,17 @@ 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.html, + + cfg.cn, { tag: 'span', cls: 'badge', -- 2.39.2