diff --git a/resources/www/prod/js/jquery.Feedback.js b/resources/www/prod/js/jquery.Feedback.js index 5441035b8b..d4e550041a 100644 --- a/resources/www/prod/js/jquery.Feedback.js +++ b/resources/www/prod/js/jquery.Feedback.js @@ -164,8 +164,8 @@ $('input[name="name"]', $FeedBackForm).val($('input[name="name"]', $dialog.getDomElement()).val()); $('input[name="duration"]', $FeedBackForm).val($('select[name="duration"]', $dialog.getDomElement()).val()); $('textarea[name="message"]', $FeedBackForm).val($('textarea[name="message"]', $dialog.getDomElement()).val()); - $('input[name="recept"]', $FeedBackForm).attr('checked', $('input[name="recept"]', $dialog.getDomElement()).attr('checked')); - $('input[name="force_authentication"]', $FeedBackForm).attr('checked', $('input[name="force_authentication"]', $dialog.getDomElement()).attr('checked')); + $('input[name="recept"]', $FeedBackForm).prop('checked', $('input[name="recept"]', $dialog.getDomElement()).prop('checked')); + $('input[name="force_authentication"]', $FeedBackForm).prop('checked', $('input[name="force_authentication"]', $dialog.getDomElement()).prop('checked')); $FeedBackForm.trigger('submit'); }; diff --git a/resources/www/prod/js/jquery.main-prod.js b/resources/www/prod/js/jquery.main-prod.js index 31a458077d..7e76502ab7 100644 --- a/resources/www/prod/js/jquery.main-prod.js +++ b/resources/www/prod/js/jquery.main-prod.js @@ -162,9 +162,9 @@ function checkBases(bool) { var sbas_id = $(this).find('input[name=reference]:first').val(); if (bool) - $(this).find(':checkbox').attr('checked', 'checked'); + $(this).find(':checkbox').prop('checked', true); else - $(this).find(':checkbox').removeAttr('checked'); + $(this).find(':checkbox').prop('checked', false); }); checkFilters(true); @@ -402,8 +402,8 @@ function reset_adv_search() { $("option.default-selection", fieldsSort).prop("selected", true); $("option.default-selection", fieldsSortOrd).prop("selected", true); - $('#ADVSRCH_FIELDS_ZONE option').removeAttr("selected"); - $('#ADVSRCH_OPTIONS_ZONE input:checkbox.field_switch').removeAttr('checked'); + $('#ADVSRCH_FIELDS_ZONE option').prop("selected", false); + $('#ADVSRCH_OPTIONS_ZONE input:checkbox.field_switch').prop("checked", false); $("option:eq(0)", dateFilterSelect).prop("selected", true); $('#ADVSRCH_OPTIONS_ZONE .datepicker').val(''); diff --git a/resources/www/report/js/report.js b/resources/www/report/js/report.js index e574c0e581..21031b1f22 100644 --- a/resources/www/report/js/report.js +++ b/resources/www/report/js/report.js @@ -315,7 +315,7 @@ function showOption(domInput) { } function removeChecked(domInput) { - domInput.closest("form").find('input:radio:visible:checked').removeAttr("checked"); + domInput.closest("form").find('input:radio:visible:checked').prop("checked", false); } function tableLinkAction(domLink) { var cl = domLink.attr("id"); diff --git a/templates/web/common/index_bootstrap.html.twig b/templates/web/common/index_bootstrap.html.twig index 7b68ab72ec..44f135812c 100644 --- a/templates/web/common/index_bootstrap.html.twig +++ b/templates/web/common/index_bootstrap.html.twig @@ -19,7 +19,7 @@ - +