feature(dom) add loadCurrentHash

This commit is contained in:
coderaiser 2013-11-19 10:02:55 +00:00
parent 2cea2c70bc
commit 0ee645ce04

View file

@ -1389,6 +1389,21 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
return lRet;
};
/**
* load hash
* @pCurrentFile
*/
this.loadCurrentHash = function(pCallBack, pCurrent) {
var lRet,
lCurrent = pCurrent || this.getCurrentFile(),
lLink = this.getCurrentPath(lCurrent),
lName = this.getCurrentName(lCurrent);
RESTful.read(lLink, pCallBack, '?hash');
return lRet;
};
/**
* set size
* @pCurrentFile