Removed part of url thet says that js is disabled ("no-js")

This commit is contained in:
coderaiser 2013-02-19 05:33:19 -05:00
parent 307c22173e
commit d8a053f670
8 changed files with 42 additions and 59 deletions

View file

@ -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;
};
/**

View file

@ -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;