X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fbootstrap%2FButton.js;h=a578c6ef1121891f3403f581b9dc88e7b288e473;hb=a71da7b49fbf236d2199469abece3a5ead2bc195;hp=a1722583b22b655cfeffe87c8b33a18923966999;hpb=49dc6c4c6c67b098a44d8bb31d9caf161dc03322;p=roojs1 diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index a1722583b2..a578c6ef11 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -149,7 +149,8 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { //} if (['default', 'primary', 'success', 'info', 'warning', 'danger', 'link'].indexOf(this.weight) > -1) { - cfg.cls += ' btn-' + this.weight; + var outline = this.outline || this.weight == 'default' ? 'outline-' : ''; + cfg.cls += ' btn-' + outline + this.weight; } } else if (this.theme==='glow') {