diff --git a/lib/client/menu.js b/lib/client/menu.js index fca9083d..a9aecb72 100644 --- a/lib/client/menu.js +++ b/lib/client/menu.js @@ -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... };