From 0a7259437d3e8ef9070ab15c77f7918be6580771 Mon Sep 17 00:00:00 2001 From: Edward Date: Mon, 31 Mar 2014 18:19:19 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 7d4aa2dda8..99dd05290e 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -191,27 +191,6 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { ]; } - if (this.badge) { - cfg.html += ' '; - - cfg.tag = 'a'; - - cfg.cls='btn roo-button'; - - cfg.href=this.href; - - cfg.cn = [ - cfg.html, - { - tag: 'span', - cls: 'badge', - html: this.badge - } - ]; - - cfg.html=''; - } - if (cfg.tag !== 'a' && this.href !== '') { throw "Tag must be a to set href."; } else if (this.href.length > 0) { -- 2.39.2