From 2b3549610b5a000880d8f05bfec7a0d1b213daa7 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 13 Jun 2017 17:31:44 +0200 Subject: fix 'add to your nextcloud' input field, this is not an email address Signed-off-by: Bjoern Schiessle --- apps/files_sharing/js/public.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_sharing/js') diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index ad3ef856f23..1407737d007 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -259,7 +259,7 @@ OCA.Sharing.PublicApp = { $('.save-form').submit(function (event) { event.preventDefault(); - var remote = $(this).find('input[type="email"]').val(); + var remote = $(this).find('#remote_address').val(); var token = $('#sharingToken').val(); var owner = $('#save').data('owner'); var ownerDisplayName = $('#save').data('owner-display-name'); -- cgit v1.2.3