emptyed old values
This commit is contained in:
parent
73b3818bdc
commit
e14783fabc
|
|
@ -129,6 +129,9 @@ function onScanSuccess(decodedText, decodedResult) {
|
|||
},
|
||||
success: function (response) {
|
||||
if(response.success == true){
|
||||
$('#attender_name').empty();
|
||||
$('#attender_organization').empty();
|
||||
$('#attender_consent').empty();
|
||||
$('#attender_name').append("Name and surname: " + response.data.name);
|
||||
$('#attender_organization').append("Organization: " + response.data.organization);
|
||||
if(response.data.consent_form == 1){
|
||||
|
|
|
|||
Loading…
Reference in New Issue