mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
Removed part of url thet says that js is disabled ("no-js")
This commit is contained in:
parent
307c22173e
commit
d8a053f670
8 changed files with 42 additions and 59 deletions
|
|
@ -1067,9 +1067,8 @@ var CloudCommander, Util,
|
|||
lPath = DOM.getCurrentLink( lCurrent ).href;
|
||||
/* убираем адрес хоста*/
|
||||
lPath = Util.removeStr(lPath, CloudCommander.HOST);
|
||||
lPath = Util.removeStr(lPath, CloudFunc.NOJS);
|
||||
|
||||
return lPath;
|
||||
return lPath;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -107,17 +107,12 @@ var CloudCommander, CloudFunc, ace;
|
|||
/* if directory - load json
|
||||
* not html data
|
||||
*/
|
||||
if (lSize === '<dir>'){
|
||||
if (lA.indexOf(CloudFunc.NOJS) ===
|
||||
CloudFunc.FS.length) {
|
||||
lA = lA.replace(CloudFunc.NOJS, '');
|
||||
/* when folder view
|
||||
* is no need to edit
|
||||
* data
|
||||
*/
|
||||
ReadOnly = true;
|
||||
}
|
||||
}
|
||||
if (lSize === '<dir>')
|
||||
/* when folder view
|
||||
* is no need to edit
|
||||
* data
|
||||
*/
|
||||
ReadOnly = true;
|
||||
}
|
||||
|
||||
this.loading = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue