feat(filepicker): Allow to pass target for rendering the file picker to different locations

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/33755/head
Julius Härtl 2 years ago
parent 6130f1a78e
commit 1da4fe48cf
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
  1. 2
      core/src/OC/dialogs.js

@ -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) {

Loading…
Cancel
Save