mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(dom) add loadCurrentTime
This commit is contained in:
parent
1b47867f9c
commit
5d1c9bb4ab
1 changed files with 15 additions and 0 deletions
|
|
@ -1403,6 +1403,21 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
return lRet;
|
||||
};
|
||||
|
||||
/**
|
||||
* load current modification time of file
|
||||
* @pCurrentFile
|
||||
*/
|
||||
this.loadCurrentTime = function(pCallBack, pCurrent) {
|
||||
var lRet,
|
||||
lCurrent = pCurrent || this.getCurrentFile(),
|
||||
lLink = this.getCurrentPath(lCurrent),
|
||||
lName = this.getCurrentName(lCurrent);
|
||||
|
||||
RESTful.read(lLink, pCallBack, '?time');
|
||||
|
||||
return lRet;
|
||||
};
|
||||
|
||||
/**
|
||||
* set size
|
||||
* @pCurrentFile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue