diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-11 23:30:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-11 23:30:14 +0100 |
commit | bbd51f4ddb1e1ed64f43bf81f02874a6209897fd (patch) | |
tree | 249173c9b50708883b214221dcb6ecda9a250e20 /apps | |
parent | 6dc2b03ebe458a40ba2cf19b9d03a1ea25810152 (diff) | |
parent | 04b9154c9a1a367ec566696bd92be0a40b56b3a1 (diff) | |
download | nextcloud-server-bbd51f4ddb1e1ed64f43bf81f02874a6209897fd.tar.gz nextcloud-server-bbd51f4ddb1e1ed64f43bf81f02874a6209897fd.zip |
Merge pull request #12385 from nextcloud/fix/12356/grid-toggle-fix
Fixes the grid toggle for none folder shares
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/templates/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 8795318c1c3..8c91ff261e4 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -46,7 +46,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size); </div> <?php endif; ?> -<?php if (!$_['isIE']) { ?> +<?php if ($_['showgridview'] && empty($_['dir']) === false) { ?> <input type="checkbox" class="hidden-visually" id="showgridview" <?php if($_['showgridview']) { ?>checked="checked" <?php } ?>/> <label id="view-toggle" for="showgridview" class="button <?php p($_['showgridview'] ? 'icon-toggle-filelist' : 'icon-toggle-pictures') ?>" |