mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 18:23:35 +00:00
refactor(client) ajaxLoad
This commit is contained in:
parent
8ce8ffaba0
commit
0b04f0f731
1 changed files with 3 additions and 3 deletions
|
|
@ -385,9 +385,9 @@ var Util, DOM, CloudFunc;
|
|||
if (!isRefresh && json)
|
||||
CloudCmd.createFileTable(obj, panel, nohistory);
|
||||
else
|
||||
RESTful.read(cleanPath, 'json', function(json) {
|
||||
CloudCmd.createFileTable(json, panel, nohistory);
|
||||
Storage.set(cleanPath, json);
|
||||
RESTful.read(cleanPath, 'json', function(obj) {
|
||||
CloudCmd.createFileTable(obj, panel, nohistory);
|
||||
Storage.set(cleanPath, obj);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue