Roo/bootstrap/Menu.js
authorAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 05:50:44 +0000 (13:50 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 05:50:44 +0000 (13:50 +0800)
Roo/bootstrap/Menu.js

index d3c32df..9f9c80a 100644 (file)
@@ -66,7 +66,7 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
         }
         var isActive = this.triggerEl.hasClass('open');
         // if disabled.. ingore
-        this.clearMenus(e);
+        this.hideMenuItems(e);
         //if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {
          // if mobile we use a backdrop because click events don't delegate
         // $('<div class="dropdown-backdrop"/>').insertAfter($(this)).on('click', clearMenus)
@@ -87,7 +87,11 @@ Roo.extend(Roo.bootstrap.Menu, Roo.bootstrap.Component,  {
         
         
     },
-    clearMenus : function()
+    
+         
+       
+    
+    hideMenuItems : function()
     {
         //$(backdrop).remove()
         Roo.select('.dropdown-toggle',true).each(function(aa) {