From 4113223b8d41366a8c482305ee1a0e43721d82fd Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 31 Mar 2014 18:53:37 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index d78bde9228..5bbb76cf9d 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -200,6 +200,8 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { cfg.href=this.href; + var value = cfg.html; + if(this.glyphicon){ cfg.cn = [ { @@ -211,6 +213,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { } cfg.cn = [ + cfg.html, { tag: 'span', cls: 'badge', -- 2.39.2