diff --git a/lib/client/dom.js b/lib/client/dom.js index 25021a72..ddecac5b 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -885,6 +885,11 @@ var CloudCommander, Util, DOM.getCurrentFileContent = function(pParams, pCurrentFile){ var lRet, lParams = pParams ? pParams : {}, + /* adding ?json param + * if file would be ignored and + * if directory would be + * geted back in json format + */ lPath = DOM.getCurrentPath(pCurrentFile) + '?json', lErrorWas = pParams.error, lError = function(jqXHR){