mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
Update lib/client/menu.js
This commit is contained in:
parent
3d77db4ae2
commit
483a6dc61c
1 changed files with 2 additions and 2 deletions
|
|
@ -19,8 +19,8 @@ CloudCommander.Menu.getConfig = (function(){
|
|||
selector: 'li',
|
||||
// define the elements of the menu
|
||||
items: {
|
||||
foo: {name: "Foo", callback: function(key, opt){ alert("Foo!"); }},
|
||||
bar: {name: "Bar", callback: function(key, opt){ alert("Bar!"); }}
|
||||
foo: {name: "View", callback: function(key, opt){ CloudCommander.Viewer();}},
|
||||
bar: {name: "Edit", callback: function(key, opt){ CloudCommander.Editor();}}
|
||||
}
|
||||
// there's more, have a look at the demos and docs...
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue