Index: branches/5.3.x/core/admin_templates/js/grid_filters.js =================================================================== diff -u -N -r15483 -r15902 --- branches/5.3.x/core/admin_templates/js/grid_filters.js (.../grid_filters.js) (revision 15483) +++ branches/5.3.x/core/admin_templates/js/grid_filters.js (.../grid_filters.js) (revision 15902) @@ -88,7 +88,7 @@ MultiOptions.SelectAll($cur_index); } ) - .attr('checked', $options.length == $options.filter(':selected').length ? 'checked' : ''); + .prop('checked', $options.length == $options.filter(':selected').length > 0); $('input._mutlioptions_cb_' + $cur_index).click( function ($e) { @@ -137,15 +137,15 @@ var $select_all = $('#_mutlioptions_cb_' + selector_index + '_all'); var $options = $("input[type='checkbox']", '#' + jq(MultiOptions.Selectors[selector_index]) + '_div').not($select_all); - $select_all.attr('checked', $options.length == $options.filter(':checked').length ? 'checked' : ''); + $select_all.prop('checked', $options.length == $options.filter(':checked').length > 0); } MultiOptions.SelectAll = function(selector_index) { // set all checkbox to match "Select All" checkbox var $select_all = $('#_mutlioptions_cb_' + selector_index + '_all'); - var $checked = $select_all.attr('checked'); + var $checked = $select_all.prop('checked'); - $("input[type='checkbox']", '#' + jq(MultiOptions.Selectors[selector_index]) + '_div').not($select_all).attr('checked', $checked); + $("input[type='checkbox']", '#' + jq(MultiOptions.Selectors[selector_index]) + '_div').not($select_all).prop('checked', $checked); // sync hidden field var $reg_exp = new RegExp('^_mutlioptions_cb_' + selector_index + '_(?!all)([0-9A-Za-z-]+)');