Roo/bootstrap/Button.js
authorAlan Knowles <alan@roojs.com>
Thu, 29 Nov 2018 02:13:37 +0000 (10:13 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 29 Nov 2018 02:13:37 +0000 (10:13 +0800)
Roo/bootstrap/Button.js

index 96964a3..a172258 100644 (file)
@@ -123,7 +123,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
                 ]
             };
             
-            if (['default', 'primary', 'success', 'info', 'warning', 'danger', 'link'].indexOf(this.weight) > -1) {
+            if (['default', 'secondary' , 'primary', 'success', 'info', 'warning', 'danger', 'link'].indexOf(this.weight) > -1) {
                 cfg.cls += ' '+this.weight;
             }