mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(client) createFileTable
This commit is contained in:
parent
0ac8a9a123
commit
65ef0428ec
1 changed files with 2 additions and 2 deletions
|
|
@ -396,13 +396,13 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
function createFileTable(pElem, pJSON) {
|
||||
var lElem = DOM.getById(pElem),
|
||||
/* getting current element if was refresh */
|
||||
lPath = DOM.getByClass('path', lElem),
|
||||
lPath = DOM.getCurrentDirPath(lElem),
|
||||
|
||||
lCurrent = DOM.getCurrentFile(),
|
||||
lDir = DOM.getCurrentDirName(),
|
||||
|
||||
lName = DOM.getCurrentName(lCurrent),
|
||||
lWasRefresh_b = lPath[0].textContent === pJSON.path,
|
||||
lWasRefresh_b = lPath === pJSON.path,
|
||||
lFuncs = [
|
||||
CloudCmd.getFileTemplate,
|
||||
CloudCmd.getPathTemplate,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue