mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
fix(key) tab after mv
This commit is contained in:
parent
f625143fd6
commit
9073b3f89b
1 changed files with 6 additions and 9 deletions
|
|
@ -185,16 +185,13 @@ var CloudCmd, Util, DOM;
|
|||
|
||||
current = TabPanel[id];
|
||||
|
||||
if (current) {
|
||||
if (current)
|
||||
files = current.parentElement;
|
||||
|
||||
if (files && files.parentElement)
|
||||
DOM.setCurrentFile(current);
|
||||
}
|
||||
else {
|
||||
current = filesPassive[0];
|
||||
DOM.setCurrentFile(current);
|
||||
}
|
||||
|
||||
if (!files)
|
||||
current = filesPassive[0];
|
||||
|
||||
DOM.setCurrentFile(current);
|
||||
|
||||
DOM.preventDefault(pEvent);//запрет на дальнейшее действие
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue