diff --git a/lib/client.js b/lib/client.js index 06d9127f..5eb239f9 100644 --- a/lib/client.js +++ b/lib/client.js @@ -52,8 +52,6 @@ var Util, DOM, CloudFunc; else link = Util.rmStr(href, CloudCmd.HOST); - link += '?json'; - if (link || currentLink.target !== '_blank') { if (panel && panel !== Info.panel) { DOM.changePanel(); @@ -371,15 +369,11 @@ var Util, DOM, CloudFunc; this.ajaxLoad = function(path, options, panel) { var SLASH = '/', fsPath = decodeURI(path), - noJSONPath = Util.rmStr(fsPath, '?json' ), - cleanPath = Util.rmStrOnce(noJSONPath, CloudFunc.FS) || SLASH; + cleanPath = Util.rmStrOnce(fsPath, CloudFunc.FS) || SLASH; if (!options) options = {}; - if (cleanPath === SLASH) - noJSONPath = SLASH; - Util.log ('reading dir: "' + cleanPath + '";'); Storage.get(cleanPath, function(json) {