diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 902032f2d8..3c96344f48 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2013-02-28 Miguel de Dios + + * operation/events/events.php: fixed the javascript to use the + actual jquery methods for to check all checkboxes. + + Fixes: #3606229 + 2013-02-28 Miguel de Dios * godmode/gis_maps/configure_gis_map.php, include/functions_gis.php, diff --git a/pandora_console/operation/events/events.php b/pandora_console/operation/events/events.php index 59d9ca079f..c7a2acec93 100644 --- a/pandora_console/operation/events/events.php +++ b/pandora_console/operation/events/events.php @@ -446,7 +446,13 @@ ui_require_javascript_file('pandora_events'); $(document).ready( function() { $("input[name=all_validate_box]").change (function() { - $("input[name='validate_ids[]']").attr('checked', $(this).attr('checked')); + if ($(this).is(":checked")) { + $("input[name='validate_ids[]']").check(); + } + else { + $("input[name='validate_ids[]']").uncheck(); + } + $("input[name='validate_ids[]']").trigger('change'); });