mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
chore(dom) lRet -> ret
This commit is contained in:
parent
823c8f3930
commit
42f652e258
1 changed files with 8 additions and 8 deletions
|
|
@ -882,22 +882,22 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
* @pCurrentFile
|
||||
*/
|
||||
this.getCurrentFile = function() {
|
||||
var lRet = this.getByClass(CURRENT_FILE);
|
||||
var ret = this.getByClass(CURRENT_FILE);
|
||||
|
||||
return lRet;
|
||||
return ret;
|
||||
};
|
||||
|
||||
/**
|
||||
* get current file by name
|
||||
*/
|
||||
this.getCurrentFileByName = function(pName) {
|
||||
var lRet, lPanel, lName;
|
||||
this.getCurrentFileByName = function(name) {
|
||||
var ret, panel;
|
||||
|
||||
lPanel = DOM.getPanel();
|
||||
lName = pName + '(' + lPanel.id + ')';
|
||||
lRet = DOM.getById(lName);
|
||||
panel = DOM.getPanel();
|
||||
name = name + '(' + panel.id + ')';
|
||||
ret = DOM.getById(name);
|
||||
|
||||
return lRet;
|
||||
return ret;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue