mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
feature(client) createFileTable: make private
This commit is contained in:
parent
0b04f0f731
commit
7c9234b540
1 changed files with 6 additions and 4 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue