fix(dom) panel refresh when buffer used

This commit is contained in:
coderaiser 2014-08-27 09:50:44 -04:00
parent 9f78bff377
commit 0e1fc505cf

View file

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