diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-29 18:21:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-29 18:21:31 +0100 |
commit | 6aefd8389b4eb895319fe5de6f13198d8dc03a46 (patch) | |
tree | 4dc25106484d8250eb0af3810b67d7ea4c2ba416 /core/js | |
parent | 8abde7702aae10b1ed25409a38efd64f9dc45e81 (diff) | |
parent | ac7c7782ff0681e6f192e4f0b9858af753cb7234 (diff) | |
download | nextcloud-server-6aefd8389b4eb895319fe5de6f13198d8dc03a46.tar.gz nextcloud-server-6aefd8389b4eb895319fe5de6f13198d8dc03a46.zip |
Merge pull request #12732 from nextcloud/polishing-fixes
Polishing fixes
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/oc-dialogs.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index 3169dab4b88..f1fa2b41c9d 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -242,7 +242,7 @@ var OCdialogs = { // No grid for IE! if (OC.Util.isIE()) { self.$filePicker.find('#picker-view-toggle').remove(); - self.$filePicker.find('#filestable').removeClass('view-grid'); + self.$filePicker.find('#picker-filestable').removeClass('view-grid'); } $('body').append(self.$filePicker); @@ -808,7 +808,7 @@ var OCdialogs = { _getGridSettings: function() { var self = this; $.get(OC.generateUrl('/apps/files/api/v1/showgridview'), function(response) { - self.$showGridView.checked = response.gridview; + self.$showGridView.get(0).checked = response.gridview; self.$showGridView.next('#picker-view-toggle') .removeClass('icon-toggle-filelist icon-toggle-pictures') .addClass(response.gridview ? 'icon-toggle-filelist' : 'icon-toggle-pictures') |