Roo/bootstrap/NavProgressItem.js
authoredward <edward@roojs.com>
Thu, 10 Mar 2016 04:09:57 +0000 (12:09 +0800)
committeredward <edward@roojs.com>
Thu, 10 Mar 2016 04:09:57 +0000 (12:09 +0800)
Roo/bootstrap/NavProgressItem.js

index a26cdba..3420dc2 100644 (file)
@@ -66,20 +66,7 @@ Roo.extend(Roo.bootstrap.NavProgressItem, Roo.bootstrap.Component,  {
     },
     initEvents: function() 
     {
-        if (typeof (this.menu) != 'undefined') {
-            this.menu.parentType = this.xtype;
-            this.menu.triggerEl = this.el;
-            this.menu = this.addxtype(Roo.apply({}, this.menu));
-        }
-        
-        this.el.select('a',true).on('click', this.onClick, this);
-        
-        if(this.tagtype == 'span'){
-            this.el.select('span',true).on('click', this.onClick, this);
-        }
-       
-        // at this point parent should be available..
-        this.parent().register(this);
+//        this.parent().register(this);
     },
     
     onClick : function(e)