Fixed contact
This commit is contained in:
parent
2288895232
commit
ae65d4017f
@ -13,9 +13,12 @@ $(function () {
|
|||||||
const rcp_option = $('#recipient>option[value=' + param_rcp + ']');
|
const rcp_option = $('#recipient>option[value=' + param_rcp + ']');
|
||||||
console.log(param_rcp)
|
console.log(param_rcp)
|
||||||
if(rcp_option.length === 1) {
|
if(rcp_option.length === 1) {
|
||||||
|
console.log(rcp_option)
|
||||||
rcp_option.attr('selected', true);
|
rcp_option.attr('selected', true);
|
||||||
$('#recipient_option_choose').removeAttr('selected');
|
$('#recipient_option_choose').removeAttr('selected');
|
||||||
$('select').material_select();
|
$('select').material_select();
|
||||||
|
} else {
|
||||||
|
$('select').material_select();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$('select').material_select();
|
$('select').material_select();
|
||||||
|
Loading…
Reference in New Issue
Block a user