aboutsummaryrefslogtreecommitdiffstats
path: root/core/src/OC
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-05-27 18:03:32 +0000
committerChristopher Ng <chrng8@gmail.com>2022-06-09 00:04:49 +0000
commitba75c61868cf26e187f082aac9b03216161e713b (patch)
treed3bcdabe48effb8564f666874e895db22965fe76 /core/src/OC
parenta9f6cd19a45ea0a45f5ec745e968f7fb78281a24 (diff)
downloadnextcloud-server-ba75c61868cf26e187f082aac9b03216161e713b.tar.gz
nextcloud-server-ba75c61868cf26e187f082aac9b03216161e713b.zip
Restore grid view toggle
Removed in https://github.com/nextcloud/server/pull/29966 and partially restored in https://github.com/nextcloud/server/pull/30452 Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core/src/OC')
-rw-r--r--core/src/OC/dialogs.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js
index 67ed2e79f9e..abb9c0d8cf7 100644
--- a/core/src/OC/dialogs.js
+++ b/core/src/OC/dialogs.js
@@ -308,14 +308,10 @@ const Dialogs = {
multiselect = false
}
- self.$filePicker.find('#picker-view-toggle').remove()
- self.$filePicker.find('#picker-filestable').removeClass('view-grid')
-
$('body').prepend(self.$filePicker)
self.$showGridView = $('input#picker-showgridview')
self.$showGridView.on('change', _.bind(self._onGridviewChange, self))
-
self._getGridSettings()
var newButton = self.$filePicker.find('.actions.creatable .button-add')