},
-
+
+ initEvents : function()
+ {
+ this.el.on('click', this.onClick, this);
+
+
+ if(this.badge !== ''){
+
+ this.badgeEl = this.el.select('.badge', true).first().setVisibilityMode(Roo.Element.DISPLAY);
+ }
+
+ },
onClick : function(e)
{
}
this.badgeEl.dom.innerHTML = str;
- },
+ }
-
- initEvents : function()
- {
- this.el.on('click', this.onClick, this);
-
-
- if(this.badge !== ''){
-
- this.badgeEl = this.el.select('.badge', true).first().setVisibilityMode(Roo.Element.DISPLAY);
- }
-
- }
+
});