mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
refactor(client) private -> public: createFileTable
This commit is contained in:
parent
5e0c09b338
commit
a6c2fa183a
1 changed files with 3 additions and 3 deletions
|
|
@ -353,7 +353,7 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
|
||||
if (lJSON) {
|
||||
lJSON = Util.parseJSON(lJSON);
|
||||
createFileTable(lJSON);
|
||||
CloudCmd.createFileTable(lJSON);
|
||||
}
|
||||
else
|
||||
lRet = true;
|
||||
|
|
@ -370,7 +370,7 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
},
|
||||
|
||||
success : function(pData) {
|
||||
createFileTable(pData);
|
||||
CloudCmd.createFileTable(pData);
|
||||
|
||||
/* переводим таблицу файлов в строку, для *
|
||||
* сохранения в localStorage */
|
||||
|
|
@ -389,7 +389,7 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
* Функция строит файловую таблицу
|
||||
* @param pJSON - данные о файлах
|
||||
*/
|
||||
function createFileTable(pJSON) {
|
||||
this.createFileTable = function(pJSON) {
|
||||
var files,
|
||||
panel = DOM.getPanel(),
|
||||
/* getting current element if was refresh */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue