mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
Update lib/client/menu.js
This commit is contained in:
parent
0964b7dccb
commit
9e4e8ac87a
1 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ CloudCommander.Menu.getConfig = (function(){
|
|||
selector: 'li',
|
||||
// define the elements of the menu
|
||||
items: {
|
||||
foo: {name: "View", callback: function(key, opt){
|
||||
view: {name: "View", callback: function(key, opt){
|
||||
if(typeof CloudCommander.Viewer === 'function')
|
||||
CloudCommander.Viewer();
|
||||
else{
|
||||
|
|
@ -28,7 +28,7 @@ CloudCommander.Menu.getConfig = (function(){
|
|||
lViewer.show()
|
||||
}
|
||||
}},
|
||||
bar: {name: "Edit", callback: function(key, opt){
|
||||
edit: {name: "Edit", callback: function(key, opt){
|
||||
if(typeof CloudCommander.Editor === 'function')
|
||||
CloudCommander.Editor();
|
||||
else{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue