summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-11-20 12:20:06 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-11-20 19:46:49 +0100
commit78056a3bef15c04af19b256915415f413cb561f2 (patch)
tree468aad968ed5cc9e4127f35ec0f6a2cb187f8c99 /apps/files_sharing
parentfc99811d0a4935eda1c7ea3d94ae1b50b8cc4b8c (diff)
downloadnextcloud-server-78056a3bef15c04af19b256915415f413cb561f2.tar.gz
nextcloud-server-78056a3bef15c04af19b256915415f413cb561f2.zip
Fix whitespace and file action cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/js/public.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 57001c495d3..d339ae1dcb4 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -209,7 +209,7 @@ OCA.Sharing.PublicApp = {
// Remove the link. This means that files without a default action fail hard
$tr.find('a.name').attr('href', '#');
- delete this.fileActions.actions.all.Download;
+ this.fileActions.actions.all = {};
}
return $tr;
};
@@ -299,6 +299,7 @@ OCA.Sharing.PublicApp = {
if (hideDownload === 'true') {
this.fileList.$el.find('#headerSelection').remove();
+ this.fileList.$el.find('.summary').find('td:first-child').remove();
}
}