Roo/bootstrap/NavSidebarItem.js
authoredward <edward@roojs.com>
Mon, 21 Mar 2016 05:22:29 +0000 (13:22 +0800)
committeredward <edward@roojs.com>
Mon, 21 Mar 2016 05:22:29 +0000 (13:22 +0800)
Roo/bootstrap/NavSidebarItem.js

index 74348b7..652fb2b 100644 (file)
@@ -102,7 +102,11 @@ Roo.extend(Roo.bootstrap.NavSidebarItem, Roo.bootstrap.NavItem,  {
     
     onClick : function(e)
     {
-        Roo.log(this);
+        if(this.preventDefault){
+            e.preventDefault();
+        }
+        
+        this.fireEvent('click', this);
     }