summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2021-12-30 17:22:02 +0100
committerLouis Chemineau <louis@chmn.me>2022-01-03 10:50:43 +0100
commite7026c0f570e6f3ca9d2151e9edd62f07bcb5858 (patch)
tree14e85501a6d34d81f6bab8763240241e9433276a /core/src
parenteb65e653d38b14a424279f95e8639713a41aeba6 (diff)
downloadnextcloud-server-e7026c0f570e6f3ca9d2151e9edd62f07bcb5858.tar.gz
nextcloud-server-e7026c0f570e6f3ca9d2151e9edd62f07bcb5858.zip
Restore innocent code from IE purge
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/OC/dialogs.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/OC/dialogs.js b/core/src/OC/dialogs.js
index 1c3962f6f16..8423677e832 100644
--- a/core/src/OC/dialogs.js
+++ b/core/src/OC/dialogs.js
@@ -309,6 +309,9 @@ const Dialogs = {
$('body').append(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')