mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 17:05:17 +00:00
Update lib/client/menu.js
This commit is contained in:
parent
fe990c292e
commit
ab716bba54
1 changed files with 5 additions and 7 deletions
|
|
@ -33,14 +33,12 @@ CloudCommander.Menu.getConfig = (function(){
|
|||
CloudCommander.Menu.load = (function(pParent, pCallBack){
|
||||
return function(){
|
||||
var ljsLoad_f = function(){
|
||||
var lMenuSrc = pParent.dir + 'jquery.contextMenu.js';
|
||||
var lUISrc = pParent.dir + 'jquery.ui.position.js';
|
||||
var lMenuSrc = pParent.dir + 'jquery.contextMenu.js';
|
||||
|
||||
pParent.jsload(lUISrc);
|
||||
|
||||
pParent.jsload(lMenuSrc,{
|
||||
onload: pCallBack
|
||||
});
|
||||
pParent.jsload(lUISrc, function(){
|
||||
pParent.jsload(lMenuSrc, pParent.show);
|
||||
});
|
||||
};
|
||||
|
||||
var lSrc = pParent.dir +'jquery.contextMenu.css';
|
||||
|
|
@ -106,5 +104,5 @@ CloudCommander.Menu.Keys = (function(){
|
|||
CloudCommander.Menu.show();
|
||||
});
|
||||
|
||||
CloudCommander.Menu.load(this, lCallBack_f);
|
||||
CloudCommander.Menu.load(this);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue