-</span><span class="jsdoc-comment">// initEvents: function()
-// {
-// if (typeof (this.menu) != 'undefined') {
-// this.menu.parentType = this.xtype;
-// this.menu.triggerEl = this.el;
-// this.menu = this.addxtype(Roo.apply({}, this.menu));
-// }
-//
-// this.el.select('a',true).on('click', this.onClick, this);
-//
-// if(this.tagtype == 'span'){
-// this.el.select('span',true).on('click', this.onClick, this);
-// }
-//
-// // at this point parent should be available..
-// this.parent().register(this);
-// },
-//