summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-05-27 00:47:07 +0000
committerChristopher Ng <chrng8@gmail.com>2022-06-09 00:00:13 +0000
commita9f6cd19a45ea0a45f5ec745e968f7fb78281a24 (patch)
tree1782c5f18b0ef30c7c0ea4ee3fec8f8990d07edc /core
parent229c65b0d76e0856c8eac45ec2ba53fddfaf8ffd (diff)
downloadnextcloud-server-a9f6cd19a45ea0a45f5ec745e968f7fb78281a24.tar.gz
nextcloud-server-a9f6cd19a45ea0a45f5ec745e968f7fb78281a24.zip
Prepend file picker to be initial keyboard focus target
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/src/OC/dialogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js
index ef923d44f0d..67ed2e79f9e 100644
--- a/core/src/OC/dialogs.js
+++ b/core/src/OC/dialogs.js
@@ -311,7 +311,7 @@ const Dialogs = {
self.$filePicker.find('#picker-view-toggle').remove()
self.$filePicker.find('#picker-filestable').removeClass('view-grid')
- $('body').append(self.$filePicker)
+ $('body').prepend(self.$filePicker)
self.$showGridView = $('input#picker-showgridview')
self.$showGridView.on('change', _.bind(self._onGridviewChange, self))