From 2e60f91ab159e51b8b39788077178cf96e8cfa0f Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Thu, 5 Apr 2018 13:11:55 +0200 Subject: Move external share saving to template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- core/js/public/publicpage.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/js') diff --git a/core/js/public/publicpage.js b/core/js/public/publicpage.js index 1b37005540f..e71bdff12ae 100644 --- a/core/js/public/publicpage.js +++ b/core/js/public/publicpage.js @@ -25,6 +25,13 @@ $(document).ready(function () { $('#body-public').find('.header-right .menutoggle').click(function() { $(this).next('.popovermenu').toggleClass('open'); }); + + $('#save-external-share').find('label').click(function () { + $(this).toggleClass('hidden'); + $('.save-form').toggleClass('hidden') + $('#remote_address').focus(); + }); + }); $(document).mouseup(function(e) { -- cgit v1.2.3