summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-06-13 17:31:44 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2017-06-13 17:46:46 +0200
commit2b3549610b5a000880d8f05bfec7a0d1b213daa7 (patch)
tree69dc98fe92f7ed159d40dd37da51b98b101b0878 /apps/files_sharing/js
parent6a06df824e8527546e5374074efa2c51b1326a29 (diff)
downloadnextcloud-server-2b3549610b5a000880d8f05bfec7a0d1b213daa7.tar.gz
nextcloud-server-2b3549610b5a000880d8f05bfec7a0d1b213daa7.zip
fix 'add to your nextcloud' input field, this is not an email address
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r--apps/files_sharing/js/public.js2
1 files changed, 1 insertions, 1 deletions
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');