Update lib/client/menu.js

This commit is contained in:
coderaiser 2012-08-14 14:54:43 +03:00
parent b0e989ebdf
commit fe990c292e

View file

@ -16,7 +16,7 @@ CloudCommander.Menu.dir = './lib/client/menu/';
CloudCommander.Menu.getConfig = (function(){
return{
// define which elements trigger this menu
selector: CloudCommander.CURRENT_FILE,
selector: '.' + CloudCommander.CURRENT_FILE,
// define the elements of the menu
items: {
foo: {name: "Foo", callback: function(key, opt){ alert("Foo!"); }},