mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
feature(dom) add loadCurrentHash
This commit is contained in:
parent
2cea2c70bc
commit
0ee645ce04
1 changed files with 15 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue