From 483a6dc61c96493c6e52285cacee28629582b3e5 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 14 Aug 2012 16:15:40 +0300 Subject: [PATCH] Update lib/client/menu.js --- lib/client/menu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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... };