return cfg;
},
- // private
-// onRender : function(ct, position)
-// {
-// // Roo.log("Call onRender: " + this.xtype);
-// this.isSubmen = ct.hasClass('....')
-// Roo.bootstrap.menu.Menu.superclass.onRender.call(this, ct, position);
-//
-
- isSubMenu : function()
+ onRender : function(ct, position)
{
- if(this.parent() instanceof Roo.bootstrap.menu.Item){
- return true;
- }
-
- return false;
-
+ // Roo.log("Call onRender: " + this.xtype);
+// this.isSubMenu = ct.hasClass('....')
+ Roo.bootstrap.menu.Menu.superclass.onRender.call(this, ct, position);
},
initEvents : function()