Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(filepicker): Allow to pass target for rendering the file picker …
…to different locations

Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Mar 2, 2023
commit 1da4fe48cff5494fc8aa4f46439dc43f57e89a70
2 changes: 1 addition & 1 deletion core/src/OC/dialogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ const Dialogs = {
multiselect = false
}

$('body').prepend(self.$filePicker)
$(options?.target ?? 'body').prepend(self.$filePicker)

self.$showGridView = $('button#picker-showgridview')
self.$showGridView.on('click keydown', function(event) {
Expand Down