From 0b04f0f731b81052441e21232846876e6a996b0b Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 22 May 2014 09:35:40 -0400 Subject: [PATCH] refactor(client) ajaxLoad --- lib/client.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/client.js b/lib/client.js index f3b3564d..9ad8cb9e 100644 --- a/lib/client.js +++ b/lib/client.js @@ -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); }); }); }