mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
chore(dom) Loader: mv xhr.send to end
This commit is contained in:
parent
a2ee8d6181
commit
9266cb2f8a
1 changed files with 3 additions and 1 deletions
|
|
@ -654,7 +654,6 @@ var CloudCmd, Util, DOM, CloudFunc;
|
|||
xhr = new XMLHttpRequest();
|
||||
|
||||
xhr.open(lType, pParams.url, true);
|
||||
xhr.send(p.data);
|
||||
|
||||
Events.add('readystatechange', function(pEvent) {
|
||||
if (xhr.readyState === 4 /* Complete */) {
|
||||
|
|
@ -683,7 +682,10 @@ var CloudCmd, Util, DOM, CloudFunc;
|
|||
}
|
||||
}
|
||||
}, xhr);
|
||||
|
||||
xhr.send(p.data);
|
||||
}
|
||||
|
||||
return lRet;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue