diff --git a/core/css/public.scss b/core/css/public.scss index 6ec22cbc6d..b171dd4970 100644 --- a/core/css/public.scss +++ b/core/css/public.scss @@ -21,10 +21,9 @@ $footer-height: 65px; opacity: 1; } } - #save-external-share { + #external-share-menu-item { form { display: flex; - margin: 0; } .hidden { display: none; diff --git a/core/js/public/publicpage.js b/core/js/public/publicpage.js index e71bdff12a..4fb9c67bfe 100644 --- a/core/js/public/publicpage.js +++ b/core/js/public/publicpage.js @@ -26,9 +26,8 @@ $(document).ready(function () { $(this).next('.popovermenu').toggleClass('open'); }); - $('#save-external-share').find('label').click(function () { - $(this).toggleClass('hidden'); - $('.save-form').toggleClass('hidden') + $('#save-external-share').click(function () { + $('#external-share-menu-item').toggleClass('hidden') $('#remote_address').focus(); }); diff --git a/lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php b/lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php index 47f62d9f8f..33ca3be94a 100644 --- a/lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php +++ b/lib/public/AppFramework/Http/Template/ExternalShareMenuAction.php @@ -67,14 +67,15 @@ class ExternalShareMenuAction extends SimpleMenuAction { */ public function render(): string { return '