Roo/bootstrap/NavSidebarItem.js
authoredward <edward@roojs.com>
Mon, 26 Feb 2018 07:31:38 +0000 (15:31 +0800)
committeredward <edward@roojs.com>
Mon, 26 Feb 2018 07:31:38 +0000 (15:31 +0800)
Roo/bootstrap/NavSidebarItem.js

index ec40cea..699d554 100644 (file)
@@ -103,17 +103,7 @@ Roo.extend(Roo.bootstrap.NavSidebarItem, Roo.bootstrap.NavItem,  {
     
     initEvents : function()
     { 
-        Roo.log('NavSidebarItem initEvents??');
-        
-        Roo.log(typeof(this.menu));
-        
-        Roo.log(this.menu);
-        
-        if(this.menu instanceof Roo.bootstrap.Menu){
-            Roo.log('test');
-        }
-        
-        if (typeof (this.menu) != 'undefined' && !this.menu instanceof Roo.bootstrap.Menu) {
+        if (typeof (this.menu) != 'undefined') {
             this.menu.parentType = this.xtype;
             this.menu.triggerEl = this.el;
             this.menu = this.addxtype(Roo.apply({}, this.menu));