Compare commits

..

No commits in common. "f6c6df340c0b4948591fd19087700052b9e9218b" and "c5379297f57f64d023cddff63840f3fbb6fde6dd" have entirely different histories.

2 changed files with 5 additions and 5 deletions

View File

@ -1138,14 +1138,12 @@ class FormController extends Controller
'fb_live_dr',
'ecme_dr',
'rtm_dr',
'absi_camp',
];
foreach ($contactAttributes as $attr) {
if (isset($post[$attr]) && $post[$attr] !== '') {
$contactdata[$attr] = $post[$attr];
}
}
if (count($contactdata) > 4) {
LambdaRequest::postrequest('contact', 'contact/update', $contactdata, $token[0]->access_token);
}

View File

@ -275,10 +275,12 @@
$('#field-rtm_dr').val($('option:selected', this).attr('rtm_dr'))
})
/*$('#field-contact_id').change(function() {
$('#field-rtm_dr').val($('option:selected', this).attr('rtm_dr'))
})*/
$('#field-contact_id').change(function() {
$('#field-absi_camp').val(
$('option:selected', this).attr('absi_camp') || ''
);
$('#field-absi_camp').val($('option:selected', this).attr('absi_camp'));
});