mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
refactor(dom) getRefreshButton: rm CloudFunc.REFRESHICON
This commit is contained in:
parent
950dd5651a
commit
d245733864
2 changed files with 3 additions and 10 deletions
|
|
@ -822,14 +822,10 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
* unified way to get RefreshButton
|
||||
*/
|
||||
this.getRefreshButton = function() {
|
||||
if (!CloudFunc)
|
||||
console.trace();
|
||||
var panel = this.getPanel(),
|
||||
refresh = this.getByDataName('js-refresh', panel);
|
||||
|
||||
var lPanel = this.getPanel(),
|
||||
lRefresh = this.getByClass(CloudFunc.REFRESHICON, lPanel),
|
||||
ret = lRefresh;
|
||||
|
||||
return ret;
|
||||
return refresh;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,6 @@ var Util;
|
|||
/* если в ссылке будет эта строка - в браузере js отключен */
|
||||
this.FS = FS = '/fs';
|
||||
|
||||
/* название css-класа кнопки обновления файловой структуры*/
|
||||
this.REFRESHICON = 'refresh-icon';
|
||||
|
||||
this.apiURL = '/api/v1';
|
||||
/* id панелей с файлами */
|
||||
this.PANEL_LEFT = 'js-left';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue