diff --git a/lib/client.js b/lib/client.js index e4b40eb9..ddbdfb48 100644 --- a/lib/client.js +++ b/lib/client.js @@ -376,7 +376,7 @@ var Util, DOM, CloudFunc; Storage.get(cleanPath, function(json) { var RESTful = DOM.RESTful, obj = Util.parseJSON(json), - isRefresh = options && options.refresh; + isRefresh = options.refresh; if (!isRefresh && json) CloudCmd.createFileTable(obj, panel);