mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(menu) rm keys, becouse of firefox strange behavior
This commit is contained in:
parent
d622f6602c
commit
16df73c2d4
1 changed files with 1 additions and 7 deletions
|
|
@ -14,7 +14,6 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO;
|
|||
Events = DOM.Events,
|
||||
Menu = this,
|
||||
Images = DOM.Images,
|
||||
MenuKeys = {},
|
||||
MenuShowedName,
|
||||
MenuContext,
|
||||
MenuContextFile,
|
||||
|
|
@ -53,11 +52,7 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO;
|
|||
if (error)
|
||||
DOM.Dialog.alert(error);
|
||||
else
|
||||
Files.get('menu', function(error, menu) {
|
||||
Util.log(error);
|
||||
MenuKeys = menu;
|
||||
showFunc();
|
||||
});
|
||||
showFunc();
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
@ -116,7 +111,6 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO;
|
|||
beforeShow : Util.exec.with(beforeShow, func),
|
||||
beforeClick : beforeClick,
|
||||
name : name,
|
||||
keys : MenuKeys
|
||||
};
|
||||
|
||||
return options;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue