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
49d3ce64c6
commit
8d543f23ea
1 changed files with 6 additions and 3 deletions
|
|
@ -34,10 +34,13 @@ 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'';
|
||||
|
||||
pParent.jsload(lUISrc);
|
||||
|
||||
pParent.jsload(lMenuSrc,{
|
||||
onload: pCallBack
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
var lSrc = pParent.dir +'jquery.contextMenu.css';
|
||||
|
|
@ -52,9 +55,9 @@ CloudCommander.Menu.load = (function(pParent, pCallBack){
|
|||
});
|
||||
|
||||
CloudCommander.Menu.set = (function(){
|
||||
if(!this.setted){
|
||||
if(!this.seted){
|
||||
$.contextMenu(this.getConfig());
|
||||
this.setted = true;
|
||||
this.seted = true;
|
||||
}
|
||||
});
|
||||
CloudCommander.Menu.seted = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue