From ab4e3b25b0f107bf334320a8ae6b6b1d080c817a Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 21 Sep 2020 15:55:58 +0200 Subject: [PATCH] Ctrl+F to search in the drive --- www/common/drive-ui.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index fde53b574..e01c931ff 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -4592,6 +4592,12 @@ define([ moveElements(paths, [TRASH], false, refresh); return; } + if (e.which === 70 && e.ctrlKey) { + e.preventDefault(); + e.stopPropagation(); + APP.displayDirectory([SEARCH]); + return; + } }); $appContainer.contextmenu(function () { APP.hideMenu();