feature(dom) add loadCurrentTime

This commit is contained in:
coderaiser 2013-11-21 11:53:21 +00:00
parent 1b47867f9c
commit 5d1c9bb4ab

View file

@ -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