diff --git a/lib/client/dom.js b/lib/client/dom.js index b67340f2..8603fa4f 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -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