return this.el;
}
- return this.el.select('ul.roo-dropdown-menu', true).first();
+ return this.el.select('ul.dropdown-menu', true).first();
},
getAutoCreate : function()
cn : [
{
tag : 'button',
- cls : 'roo-dropdown-button btn btn-' + this.weight,
+ cls : 'dropdown-button btn btn-' + this.weight,
cn : text
},
{
tag : 'button',
- cls : 'roo-dropdown-toggle btn btn-' + this.weight,
+ cls : 'dropdown-toggle btn btn-' + this.weight,
cn : [
{
tag : 'span',
},
{
tag : 'ul',
- cls : 'roo-dropdown-menu'
+ cls : 'dropdown-menu'
}
]
if(this.isSubMenu){
cfg = {
tag : 'ul',
- cls : 'roo-dropdown-menu'
+ cls : 'dropdown-menu'
}
}
onRender : function(ct, position)
{
- this.isSubMenu = ct.hasClass('roo-dropdown-submenu');
+ this.isSubMenu = ct.hasClass('dropdown-submenu');
Roo.bootstrap.menu.Menu.superclass.onRender.call(this, ct, position);
},
this.hidden = true;
- this.triggerEl = this.el.select('button.roo-dropdown-toggle', true).first();
+ this.triggerEl = this.el.select('button.dropdown-toggle', true).first();
this.triggerEl.on('click', this.onTriggerPress, this);
- this.buttonEl = this.el.select('button.roo-dropdown-button', true).first();
+ this.buttonEl = this.el.select('button.dropdown-button', true).first();
this.buttonEl.on('click', this.onClick, this);
},
return this.el;
}
- return this.el.select('ul.roo-dropdown-menu', true).first();
+ return this.el.select('ul.dropdown-menu', true).first();
},
onClick : function(e)