feature(client) createFileTable: make private

This commit is contained in:
coderaiser 2014-05-22 09:39:21 -04:00
parent 0b04f0f731
commit 7c9234b540

View file

@ -383,10 +383,10 @@ var Util, DOM, CloudFunc;
nohistory = options.nohistory;
if (!isRefresh && json)
CloudCmd.createFileTable(obj, panel, nohistory);
createFileTable(obj, panel, nohistory);
else
RESTful.read(cleanPath, 'json', function(obj) {
CloudCmd.createFileTable(obj, panel, nohistory);
createFileTable(obj, panel, nohistory);
Storage.set(cleanPath, obj);
});
});
@ -394,9 +394,11 @@ var Util, DOM, CloudFunc;
/**
* Функция строит файловую таблицу
* @param pJSON - данные о файлах
* @param json - данные о файлах
* @param panelParam
* @param nohistory
*/
this.createFileTable = function(json, panelParam, nohistory) {
function createFileTable(json, panelParam, nohistory) {
var files,
panel = panelParam || DOM.getPanel(),
/* getting current element if was refresh */