mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
added function Menu
This commit is contained in:
parent
fb0ddf5f43
commit
d2fb66bc4c
1 changed files with 11 additions and 0 deletions
11
client.js
11
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();
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
/*
|
||||
* Функция привязываеться ко всем ссылкам и
|
||||
* загружает содержимое каталогов
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue