From a63441d27328d2198f44dbd1286e20615b072903 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 31 Mar 2014 18:32:52 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index b74cbdb1dd..7b8ce0371d 100644 --- 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', -- 2.39.2