mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
refactor(listeners )files: getByClass -> getByDataName
This commit is contained in:
parent
cbe7ad7a10
commit
5d1d9e3433
1 changed files with 3 additions and 3 deletions
|
|
@ -83,7 +83,7 @@ var Util, DOM, CloudCmd;
|
|||
var i, n, ai, link, loadDir,
|
||||
url = CloudCmd.HOST,
|
||||
panel = DOM.getById(panelId),
|
||||
filesElement = DOM.getByClass('files', panel),
|
||||
filesElement = DOM.getByDataName('js-files', panel),
|
||||
pathElement = DOM.getByDataName('js-path', panel),
|
||||
pathLinks = DOM.getByClass('links', pathElement).children,
|
||||
clearStorage = DOM.getByClass('clear-storage', pathElement),
|
||||
|
|
@ -109,7 +109,7 @@ var Util, DOM, CloudCmd;
|
|||
var i, n, ai, link, loadDir,
|
||||
url = CloudCmd.HOST,
|
||||
panel = DOM.getById(panelId),
|
||||
filesElement = DOM.getByClass('files', panel),
|
||||
filesElement = DOM.getByDataName('js-files', panel),
|
||||
pathElement = DOM.getByDataName('js-path', panel),
|
||||
pathLinks = DOM.getByClass('links', pathElement).children,
|
||||
clearStorage = DOM.getByClass('clear-storage', pathElement),
|
||||
|
|
@ -139,7 +139,7 @@ var Util, DOM, CloudCmd;
|
|||
this.changeLinks = function(panelId) {
|
||||
var i, n, a, ai, current, id,
|
||||
panel = DOM.getById(panelId),
|
||||
filesElement = DOM.getByClass('files', panel),
|
||||
filesElement = DOM.getByDataName('js-files', panel),
|
||||
files = filesElement.children;
|
||||
|
||||
a = DOM.getByTag('a', filesElement);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue