if(this.isContainer){
return {
tag: 'li',
- cls: 'dropdown-menu-item'
+ cls: 'dropdown-menu-item '
};
}
var ctag = {
var anc = {
tag : 'a',
+ cls : 'dropdown-item',
href : '#',
cn : [ ]
};
if (this.parent().type == 'treeview') {
this.el.select('a').on('click', this.onClick, this);
}
+
if (this.menu) {
this.menu.parentType = this.xtype;
this.menu.triggerEl = this.el;