Skip to content

Commit

Permalink
Merge pull request #3114 from nextcloud/bugfix/noid/file-action-context
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr authored Aug 21, 2023
2 parents 348f150 + effbcf0 commit 6649e13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/view/NewFileMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,9 @@ const NewFileMenu = {
const fileAction = OCA.Files.fileActions.getDefaultFileAction(fileModel.get('mimetype'), 'file', OC.PERMISSION_ALL)
fileAction.action(filename, {
$file: null,
fileId: fileModel.id,
dir: getCurrentDirectory(),
FileList,
fileList: FileList,
fileActions: FileList.fileActions,
})
} else {
Expand Down

0 comments on commit 6649e13

Please sign in to comment.