diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2021-10-08 08:27:33 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2021-10-08 08:28:05 -0100 |
commit | 9e78b01f3ad3384250c76d57939f4e7a7b106a86 (patch) | |
tree | 71bda0bb93f0095f61bd6e7ab73ba6e164642da1 /apps/files/js/fileactionsmenu.js | |
parent | 9187e986e10a0e189f825cd462eb9e68bd732981 (diff) | |
download | nextcloud-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/fileactionsmenu.js')
-rw-r--r-- | apps/files/js/fileactionsmenu.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files/js/fileactionsmenu.js b/apps/files/js/fileactionsmenu.js index 53dec693c1c..c252ffa96b0 100644 --- a/apps/files/js/fileactionsmenu.js +++ b/apps/files/js/fileactionsmenu.js @@ -49,7 +49,8 @@ var actions = fileActions.getActions( fileActions.getCurrentMimeType(), fileActions.getCurrentType(), - fileActions.getCurrentPermissions() + fileActions.getCurrentPermissions(), + fileActions.getCurrentFile() ); var actionSpec = actions[actionName]; var fileName = this._context.$file.attr('data-file'); @@ -74,7 +75,8 @@ var actions = fileActions.getActions( fileActions.getCurrentMimeType(), fileActions.getCurrentType(), - fileActions.getCurrentPermissions() + fileActions.getCurrentPermissions(), + fileActions.getCurrentFile() ); var defaultAction = fileActions.getCurrentDefaultFileAction(); |