diff --git a/lib/client/dom.js b/lib/client/dom.js index b3ee1de3..4c8fa44b 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -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); + } }); } }