Update lib/client/menu.js

This commit is contained in:
coderaiser 2012-08-14 16:42:26 +03:00
parent 0964b7dccb
commit 9e4e8ac87a

View file

@ -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{