cfg.cls = this.cls;
}
+ if(this.disabled){
+ cfg.cls = typeof(cfg.cls) !== 'undefined' ? cfg.cls + ' disabled' : 'disabled';
+ }
+
if(this.active){
cfg.cls = typeof(cfg.cls) !== 'undefined' ? cfg.cls + ' active' : 'active';
}
e.preventDefault();
}
+ if(this.disabled){
+ return;
+ }
+
this.fireEvent('click', this, e);
}