mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
removed unneeded code
This commit is contained in:
parent
4d9679c180
commit
7ecc4e2909
1 changed files with 0 additions and 11 deletions
|
|
@ -107,17 +107,6 @@ CloudCommander.keyBinding=(function(){
|
|||
var lATag=lName[0].getElementsByTagName('a');
|
||||
/* если нету - выходим */
|
||||
if(!lATag)return false;
|
||||
/* получаем ссылку на каталог,
|
||||
* что на уровень выше
|
||||
*/
|
||||
/* получаем имя каталога в котором находимся*/
|
||||
var lHref;
|
||||
try{
|
||||
lHref=lCurrentFile.parentElement.getElementsByClassName('path')[0].textContent;
|
||||
}catch(error){console.log('error');}
|
||||
lHref=CloudFunc.removeLastSlash(lHref);
|
||||
var lSubstr=lHref.substr(lHref,lHref.lastIndexOf('/'));
|
||||
lHref=lHref.replace(lSubstr+'/','');
|
||||
|
||||
/* вызываем ajaxload привязанный через changelinks
|
||||
* пробулем нажать на ссылку, если не получиться
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue