mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(client) getSystemFile: rm !pGlobal
This commit is contained in:
parent
cff91ed11c
commit
da43ce1ecc
1 changed files with 7 additions and 8 deletions
|
|
@ -286,14 +286,13 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
|
||||
function lGetSysFile(pCallBack) {
|
||||
Util.ifExec(pGlobal, pCallBack, function(pCallBack) {
|
||||
if (!pGlobal)
|
||||
DOM.ajax({
|
||||
url : pURL,
|
||||
success : function(pLocal) {
|
||||
pGlobal = pLocal;
|
||||
Util.exec(pCallBack, pLocal);
|
||||
}
|
||||
});
|
||||
DOM.ajax({
|
||||
url : pURL,
|
||||
success : function(pLocal) {
|
||||
pGlobal = pLocal;
|
||||
Util.exec(pCallBack, pLocal);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue