Compare commits
2 Commits
c5379297f5
...
f6c6df340c
| Author | SHA1 | Date |
|---|---|---|
|
|
f6c6df340c | |
|
|
12b98afc35 |
|
|
@ -1138,12 +1138,14 @@ 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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -275,12 +275,10 @@
|
|||
$('#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') || ''
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue