getChildContainer : function() {
- if(this.isSubMenu()){
+ if(this.isSubMenu){
return this.el;
}
onRender : function(ct, position)
{
- Roo.log(ct);
- // Roo.log("Call onRender: " + this.xtype);
-// this.isSubMenu = ct.hasClass('....')
+ this.isSubMenu = ct.el.hasClass('dropdown-submenu');
+
Roo.bootstrap.menu.Menu.superclass.onRender.call(this, ct, position);
},
initEvents : function()
{
- if(this.isSubMenu()){
+ if(this.isSubMenu){
return;
}