diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-11-20 12:20:06 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-11-20 19:46:49 +0100 |
commit | 78056a3bef15c04af19b256915415f413cb561f2 (patch) | |
tree | 468aad968ed5cc9e4127f35ec0f6a2cb187f8c99 /apps/files_sharing | |
parent | fc99811d0a4935eda1c7ea3d94ae1b50b8cc4b8c (diff) | |
download | nextcloud-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.js | 3 |
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(); } } |