From d9d806cd165c0055eb4afc4416039d87e54484cf Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 8 Apr 2014 18:59:10 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index af2e6ae449..ebadd2e6f0 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -99,7 +99,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { ] }; - if (['default', 'primary', 'success', 'info', 'warning', 'danger', 'link', 'inverse'].indexOf(this.weight) > -1) { + if (['default', 'primary', 'success', 'info', 'warning', 'danger', 'link'].indexOf(this.weight) > -1) { cfg.cls += ' '+this.weight; } @@ -123,7 +123,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { if (this.parentType != 'Navbar') { this.weight = this.weight.length ? this.weight : 'default'; } - if (['default', 'primary', 'success', 'info', 'warning', 'danger', 'link', 'inverse'].indexOf(this.weight) > -1) { + if (['default', 'primary', 'success', 'info', 'warning', 'danger', 'link'].indexOf(this.weight) > -1) { cfg.cls += ' btn-' + this.weight; } @@ -132,7 +132,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component, { cfg.tag = 'a'; cfg.cls = 'btn-glow roo-button'; - if (['default', 'primary', 'success', 'info', 'warning', 'danger', 'link', 'inverse'].indexOf(this.weight) > -1) { + if (['default', 'primary', 'success', 'info', 'warning', 'danger', 'link'].indexOf(this.weight) > -1) { cfg.cls += ' ' + this.weight; } -- 2.39.2