diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-04-05 13:11:55 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-04-05 13:11:55 +0200 |
commit | 2e60f91ab159e51b8b39788077178cf96e8cfa0f (patch) | |
tree | e031b269ee325a078c745e6fa2a4a0a42db6ba02 /core/js/public | |
parent | 30e76f9f14d901025e245d9900b7ca1d3ff168ad (diff) | |
download | nextcloud-server-2e60f91ab159e51b8b39788077178cf96e8cfa0f.tar.gz nextcloud-server-2e60f91ab159e51b8b39788077178cf96e8cfa0f.zip |
Move external share saving to template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/js/public')
-rw-r--r-- | core/js/public/publicpage.js | 7 |
1 files changed, 7 insertions, 0 deletions
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) { |