mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
Update lib/client/menu.js
This commit is contained in:
parent
d4d30f9bc2
commit
d63d82b0fd
1 changed files with 6 additions and 4 deletions
|
|
@ -30,14 +30,14 @@ CloudCommander.Menu.getConfig = (function(){
|
|||
* @pParent - this
|
||||
* @pCallBack - executes, when everything loaded
|
||||
*/
|
||||
CloudCommander.Menu.load = (function(pParent, pCallBack){
|
||||
CloudCommander.Menu.load = (function(pParent){
|
||||
return function(){
|
||||
var ljsLoad_f = function(){
|
||||
var lUISrc = pParent.dir + 'jquery.ui.position.js';
|
||||
var lMenuSrc = pParent.dir + 'jquery.contextMenu.js';
|
||||
|
||||
pParent.jsload(lUISrc, function(){
|
||||
pParent.jsload(lMenuSrc, pParent.show);
|
||||
pParent.jsload(lMenuSrc, pParent.show(pParent));
|
||||
});
|
||||
};
|
||||
|
||||
|
|
@ -61,8 +61,10 @@ CloudCommander.Menu.set = (function(){
|
|||
CloudCommander.Menu.seted = false;
|
||||
|
||||
CloudCommander.Menu.show = (function(pParent){
|
||||
pParent.set();
|
||||
$(CloudCommander.CURRENT_FILE).contextMenu();
|
||||
return function(){
|
||||
pParent.set();
|
||||
$(CloudCommander.CURRENT_FILE).contextMenu();
|
||||
}
|
||||
});
|
||||
|
||||
CloudCommander.Menu.Keys = (function(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue