From 973afd113781c052b865d4e373ed977ee47e43b4 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 14 Aug 2012 16:42:26 +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 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{