diff --git a/lib/client/menu.js b/lib/client/menu.js index 25015826..41fcb979 100644 --- a/lib/client/menu.js +++ b/lib/client/menu.js @@ -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{