From 22aed9919b3fdfe2910b17cb432beb1405f9c545 Mon Sep 17 00:00:00 2001 From: Robin Windey Date: Wed, 15 Apr 2020 09:40:33 +0200 Subject: [PATCH] Fix #88 --- js/files.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/files.js b/js/files.js index 8471ca0..9b7a672 100644 --- a/js/files.js +++ b/js/files.js @@ -263,7 +263,7 @@ FullTextSearch.prototype = { var action = this.fileActions.getDefault(mime, type, permissions); if (action) { event.preventDefault(); - window.FileActions.currentFile = this.fileActions.currentFile; + OCA.Files.fileActions.currentFile = this.fileActions.currentFile; action(filename, { $file: resultEntry, fileName: filename,