From ffe4173ee9d2236c19047c05441ccef255c034e3 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Thu, 28 Feb 2013 15:45:58 +0000 Subject: [PATCH] 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 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7754 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ pandora_console/operation/events/events.php | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) 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'); });