aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2021-10-08 08:27:33 -0100
committerMaxence Lange <maxence@artificial-owl.com>2021-10-08 08:28:05 -0100
commit9e78b01f3ad3384250c76d57939f4e7a7b106a86 (patch)
tree71bda0bb93f0095f61bd6e7ab73ba6e164642da1 /apps/files/js/filelist.js
parent9187e986e10a0e189f825cd462eb9e68bd732981 (diff)
downloadnextcloud-server-9e78b01f3ad3384250c76d57939f4e7a7b106a86.tar.gz
nextcloud-server-9e78b01f3ad3384250c76d57939f4e7a7b106a86.zip
adding action.filename to FileActions
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 62e4cab3295..b3d88085b7c 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -945,7 +945,7 @@
var mime = this.fileActions.getCurrentMimeType();
var type = this.fileActions.getCurrentType();
var permissions = this.fileActions.getCurrentPermissions();
- var action = this.fileActions.get(mime, type, permissions)['Details'];
+ var action = this.fileActions.get(mime, type, permissions, filename)['Details'];
if (action) {
action(filename, {
$file: $tr,