diff options
author | Julius Härtl <jus@bitgrid.net> | 2023-03-02 22:15:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 22:15:15 +0100 |
commit | c76be650142a93291c8e5f197958995e35793142 (patch) | |
tree | 0d4327f10a57dbee8929579ea4ceabe290f2697f /core | |
parent | b6d8fc97afe28bc1b017026447264ba37ed37caa (diff) | |
parent | 38e4f8ae61d1176d87072167e0f081326d01edda (diff) | |
download | nextcloud-server-c76be650142a93291c8e5f197958995e35793142.tar.gz nextcloud-server-c76be650142a93291c8e5f197958995e35793142.zip |
Merge pull request #33755 from nextcloud/enh/reference-file
File widget for references
Diffstat (limited to 'core')
-rw-r--r-- | core/src/OC/dialogs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js index 692f8c9fe1f..91b0e2fffea 100644 --- a/core/src/OC/dialogs.js +++ b/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) { |