diff --git a/lib/client/menu.js b/lib/client/menu.js index 9c483986..3d3351de 100644 --- a/lib/client/menu.js +++ b/lib/client/menu.js @@ -9,9 +9,7 @@ CloudCommander.Menu.dir = './lib/client/menu/'; /* function return configureation - * for FancyBox open and - * onclick (it shoud be - * different objects) + * for menu */ CloudCommander.Menu.getConfig = (function(){ return{ @@ -39,7 +37,6 @@ CloudCommander.Menu.getConfig = (function(){ }} } - // there's more, have a look at the demos and docs... }; }); @@ -124,8 +121,12 @@ CloudCommander.Menu.set = (function(){ this.seted = true; } }); + CloudCommander.Menu.seted = false; +/* function shows menu for the first time + * right away after loading + */ CloudCommander.Menu.show = (function(pParent, pPosition){ return function(){ pParent.set(); @@ -137,6 +138,7 @@ CloudCommander.Menu.show = (function(pParent, pPosition){ } }); +/* key binding function */ CloudCommander.Menu.Keys = (function(pPosition){ "use strict";