From 6352656737be5b8524a8b333880222a6644ef6f3 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 12 Jan 2017 15:55:35 +0100 Subject: [PATCH] Remove the default context menu in the entire drive --- www/drive/main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/www/drive/main.js b/www/drive/main.js index ab3446f35..5cfd328db 100644 --- a/www/drive/main.js +++ b/www/drive/main.js @@ -1663,6 +1663,10 @@ define([ moveElements(paths, [TRASH], false, refresh); } }); + $(ifrw).contextmenu(function () { + module.hideMenu(); + return false; + }); var onRefresh = { refresh: function() {