From 7af53cc0e7ccb2706080ae8d42ab17ea75e279ea Mon Sep 17 00:00:00 2001 From: ClemDee Date: Thu, 20 Jun 2019 16:56:37 +0200 Subject: [PATCH] Remove New Folder option in context menu when clicking on folder --- www/drive/inner.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/drive/inner.js b/www/drive/inner.js index d7629d52c..d6669d1c7 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -1059,8 +1059,7 @@ define([ show = ['newfolder', 'newsharedfolder', 'newdoc']; break; case 'tree': - show = ['open', 'openro', 'expandall', 'collapseall', 'color', 'download', 'share', 'rename', 'delete', 'deleteowned', 'removesf', - 'newfolder', 'properties', 'hashtag']; + show = ['open', 'openro', 'expandall', 'collapseall', 'color', 'download', 'share', 'rename', 'delete', 'deleteowned', 'removesf', 'properties', 'hashtag']; break; case 'default': show = ['open', 'openro', 'share', 'openparent', 'delete', 'deleteowned', 'properties', 'hashtag'];