cfg.cls += ' active';
}
+ if (this.disabled) {
+ cfg.disabled = 'disabled';
+ }
+
cfg.cls += this.size.length ? (' btn-' + this.size) : '';
//gsRoo.log(this.parentType);
cfg.html = this.html + ' <span class="caret"></span>';
}
- if (this.disabled) {
- cfg.disabled = 'disabled';
- }
- //????
- if (this.items) {
- Roo.log('changing to ul' );
- cfg.tag = 'ul';
- this.glyphicon = 'caret';
- }
-
if (this.glyphicon) {
cfg.html = ' ' + cfg.html;