From fc14cc4c2b02a42d0e73b4740a1dfe3f19d3cda1 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 19 Feb 2013 05:52:49 -0500 Subject: [PATCH] minor changes --- lib/client/dom.js | 5 +++++ 1 file changed, 5 insertions(+) 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){