From 6feb8548b3f805dd78a2a8dc4014c480ad823df3 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 7 Dec 2016 11:12:35 +0100 Subject: [PATCH] Prevent the proxy handlers from being called on the parents --- www/file/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/file/main.js b/www/file/main.js index 234a5dd76..196fa9a48 100644 --- a/www/file/main.js +++ b/www/file/main.js @@ -1331,6 +1331,7 @@ define([ refreshFilesData(); } module.resetTree(); + return false; }).on('remove', [], function () { var path = arguments[1]; if ((filesOp.isPathInUnsorted(currentPath) && filesOp.isPathInUnsorted(path)) || @@ -1340,6 +1341,7 @@ define([ window.setTimeout(refresh, 200); } module.resetTree(); + return false; }); refresh();