mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(dom) getCurrentData: this -> Cmd
This commit is contained in:
parent
e39ca3e866
commit
f60f0e1170
1 changed files with 2 additions and 2 deletions
|
|
@ -1359,7 +1359,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
*/
|
||||
this.getCurrentSize = function(pCurrentFile) {
|
||||
var lRet,
|
||||
lCurrent = pCurrentFile || this.getCurrentFile(),
|
||||
lCurrent = pCurrentFile || Cmd.getCurrentFile(),
|
||||
lSize = this.getByClass('size', lCurrent);
|
||||
lSize = lSize[0].textContent;
|
||||
/* если это папка - возвращаем слово dir вместо размера*/
|
||||
|
|
@ -1489,7 +1489,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
this.getCurrentData = function(pCallBack, pCurrentFile) {
|
||||
var lParams,
|
||||
lHash,
|
||||
lCurrentFile = pCurrentFile ? pCurrentFile : this.getCurrentFile(),
|
||||
lCurrentFile = pCurrentFile ? pCurrentFile : Cmd.getCurrentFile(),
|
||||
lPath = DOM.getCurrentPath(lCurrentFile),
|
||||
isDir = DOM.isCurrentIsDir(lCurrentFile),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue