diff --git a/client.js b/client.js index efac4ef3..7fabbd0a 100644 --- a/client.js +++ b/client.js @@ -22,6 +22,7 @@ var CloudClient = { Editor :function(){},/* function loads and shows editor */ Viewer :function(){},/* function loads and shows viewer */ Terminal :function(){},/* function loads and shows terminal*/ + Menu :function(){},/* function loads and shows menu */ _loadDir :function(){}, /* Функция привязываеться ко всем * ссылкам и @@ -637,6 +638,16 @@ CloudClient.Terminal = (function(){ }); }); +/* function loads and shows menu */ +CloudClient.Menu = (function(){ + Util.jsload(CloudClient.LIBDIRCLIENT + + 'menu.js',{ + onload: (function(){ + CloudCommander.Menu.Keys(); + }) + }); +}); + /* * Функция привязываеться ко всем ссылкам и * загружает содержимое каталогов