mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(dom) panel refresh when buffer used
This commit is contained in:
parent
9f78bff377
commit
0e1fc505cf
1 changed files with 10 additions and 6 deletions
|
|
@ -1530,14 +1530,18 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
|
|||
id = panelPassive.id,
|
||||
dotDot = DOM.getById( '..(' + id + ')');
|
||||
|
||||
if (operation.move)
|
||||
CloudCmd.refresh(dotDot, panel);
|
||||
|
||||
DOM.setCurrentFile(dotDot);
|
||||
CloudCmd.refresh(dotDot, panelPassive);
|
||||
|
||||
if (operation.move)
|
||||
DOM.Storage.remove(from);
|
||||
|
||||
if (!data) {
|
||||
DOM.setCurrentFile(dotDot);
|
||||
|
||||
CloudCmd.refresh(dotDot, panel);
|
||||
CloudCmd.refresh(dotDot, panelPassive);
|
||||
} else {
|
||||
CloudCmd.refresh(dotDot, panelPassive);
|
||||
CloudCmd.refresh(dotDot, panel);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue