diff --git a/js/app.js b/js/app.js index e7a37f48..20046512 100644 --- a/js/app.js +++ b/js/app.js @@ -1395,6 +1395,7 @@ OC.Contacts = OC.Contacts || { var file = filelist[0]; var target = $('#file_upload_target'); var form = $('#file_upload_form'); + form.find('input[name="id"]').val(this.currentid); var totalSize=0; if(file.size > $('#max_upload').val()){ OC.notify({ diff --git a/templates/contacts.php b/templates/contacts.php index 2f91a11a..7dfce36e 100644 --- a/templates/contacts.php +++ b/templates/contacts.php @@ -1,4 +1,5 @@