Roo.bootstrap.Element.superclass.initEvents.call(this);
if(this.clickable){
- if(!Roo.isTouch){
- this.el.on('click', this.onClick, this);
- } else {
- this.el.on('touchstart', this.onClick, this);
- }
+ this.el.on('click', this.onClick, this);
}
},
weight : false,
inline: false,
tooltip : '',
+ useFontAwesomeCheckBox : false,
getAutoCreate : function()
{
html: this.boxLabel
};
+ if(this.useFontAwesomeCheckBox) {
+ boxLabelCfg.cls = 'box-label fa-checkbox'
+ }
+
if(this.tooltip){
boxLabelCfg.tooltip = this.tooltip;
}