From f859d9a3eee6de244c4a1231844c4ee2684dc7f1 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 27 Aug 2014 07:16:24 -0400 Subject: [PATCH] feature(dom) processFile: rm from storage only if operation is move --- lib/client/dom.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/client/dom.js b/lib/client/dom.js index 9d33a458..8e2653bc 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -1522,7 +1522,9 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; DOM.setCurrentFile(dotDot); CloudCmd.refresh(dotDot, panelPassive); - DOM.Storage.remove(from); + + if (operation.move) + DOM.Storage.remove(from); }); } }