#11517 Fixed the selection of Available Fields

This commit is contained in:
Jorge Rincon 2023-06-12 12:26:38 +02:00
parent 28c08d34df
commit 41311c019f

View File

@ -27,7 +27,7 @@ if (! check_acl($config['id_user'], 0, 'AR')
return; return;
} }
$update = get_parameter('upd_button', ''); $update = get_parameter('update_button', '');
$default = (int) get_parameter('default', 0); $default = (int) get_parameter('default', 0);
// Header. // Header.
@ -284,7 +284,7 @@ $(document).ready (function () {
} }
}); });
$("#submit-upd_button").click(function () { $("#button-update_button").click(function () {
$("#fields_selected").find("option[value='0']").remove(); $("#fields_selected").find("option[value='0']").remove();
$('#fields_selected option').map(function() { $('#fields_selected option').map(function() {
$(this).prop('selected', true); $(this).prop('selected', true);