mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
reafactore(dom) combineLoad -> combineURL
This commit is contained in:
parent
ea4b7d03c5
commit
7f3f3c4e73
1 changed files with 8 additions and 9 deletions
|
|
@ -1108,16 +1108,15 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
}
|
||||
|
||||
|
||||
this.combineLoad = function(names, callback) {
|
||||
var COMBINE = '/combine/';
|
||||
this.combineURL = function(names, callback) {
|
||||
var url,
|
||||
COMBINE = '/combine',
|
||||
nameStr = names + '';
|
||||
|
||||
names = names + ''
|
||||
.replace(',', ':');
|
||||
Loader.ajax({
|
||||
url : COMBINE + names,
|
||||
error : Images.showError,
|
||||
success : Util.retExec(callback)
|
||||
});
|
||||
nameStr = Util.replaceStr(nameStr, ',', ':');
|
||||
url = COMBINE + nameStr;
|
||||
|
||||
return url;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue