Roo/bootstrap/MenuMgr.js
authorAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 06:22:21 +0000 (14:22 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 06:22:21 +0000 (14:22 +0800)
Roo/bootstrap/MenuMgr.js

index 1aba9ec..276b090 100644 (file)
@@ -144,9 +144,9 @@ Roo.bootstrap.MenuMgr = function(){
            }else if(menu.events){  // menu instance
                return menu;
            }else if(typeof menu.length == 'number'){ // array of menu items?
-               return new Roo.menu.Menu({items:menu});
+               return new Roo.bootstrap.Menu({items:menu});
            }else{ // otherwise, must be a config
-               return new Roo.menu.Menu(menu);
+               return new Roo.bootstrap.Menu(menu);
            }
        },