diff options
author | Michael Weimann <mail@michael-weimann.eu> | 2018-11-09 22:28:19 +0100 |
---|---|---|
committer | Michael Weimann <mail@michael-weimann.eu> | 2018-11-09 22:28:19 +0100 |
commit | 04b9154c9a1a367ec566696bd92be0a40b56b3a1 (patch) | |
tree | 42aef483f60b6419c3e24ac66077696e671d518d /apps | |
parent | b7a59fb56a055764b5251c95f4d57d6883934136 (diff) | |
download | nextcloud-server-04b9154c9a1a367ec566696bd92be0a40b56b3a1.tar.gz nextcloud-server-04b9154c9a1a367ec566696bd92be0a40b56b3a1.zip |
Fixes the grid toggle for none folder shares
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
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') ?>" |