mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 01:00:20 -04:00
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>
This commit is contained in:
parent
a9f6cd19a4
commit
ba75c61868
5 changed files with 6 additions and 10 deletions
|
|
@ -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')
|
||||
|
|
|
|||
4
dist/core-login.js
vendored
4
dist/core-login.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-login.js.map
vendored
2
dist/core-login.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/core-main.js
vendored
4
dist/core-main.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-main.js.map
vendored
2
dist/core-main.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue