Roo/bootstrap/menu/MenuItem.js
authorEdward <edward@roojs.com>
Thu, 4 Dec 2014 10:34:36 +0000 (18:34 +0800)
committerEdward <edward@roojs.com>
Thu, 4 Dec 2014 10:34:36 +0000 (18:34 +0800)
Roo/bootstrap/menu/MenuItem.js

index 027bfff..e88ea0f 100644 (file)
@@ -71,8 +71,13 @@ Roo.extend(Roo.bootstrap.menu.MenuItem, Roo.bootstrap.Component,  {
         };
         
         return cfg;
+    },
+    
+    initEvents : function() 
+    {
+        this.el.on('click', this.onClick, this);
         
-    }
+    },
 });