From 903eb37b83dae6cbb596e081f4d0418dede8831f Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 7 Feb 2014 15:46:47 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 71a33878c8..075644594f 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -125,7 +125,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { } else if (this.theme==='glow') { cfg.tag = 'a'; - cfg.cls='btn-glow'; + cfg.cls = 'btn-glow roo-button'; if (['default', 'primary', 'success', 'info', 'warning', 'danger', 'link'].indexOf(this.weight) > -1) { @@ -152,6 +152,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { cfg.cls = ''; cfg.cn = [{ tag : 'a', + cls : 'roo-button', html : this.html, href : this.href || '#' }]; @@ -172,7 +173,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { if (this.disabled) { cfg.disabled = 'disabled'; } - + //???? if (this.items) { Roo.log('changing to ul' ); cfg.tag = 'ul'; -- 2.39.2