From 94747c9932083520163155a08e38d59795404b2c Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 23 Jan 2018 16:42:34 +0200 Subject: [PATCH] fix(operation) paste files when current file is ".." (#142) --- client/modules/operation/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/modules/operation/index.js b/client/modules/operation/index.js index 0d0d1eb3..1a09890c 100644 --- a/client/modules/operation/index.js +++ b/client/modules/operation/index.js @@ -428,7 +428,7 @@ function OperationProto(operation, data) { sameName = DOM.getCurrentByName(name, panel); - if (noFilesCheck()) + if (!data && noFilesCheck()) return; const {type} = options;