2013-02-28 Miguel de Dios <miguel.dedios@artica.es>

* 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
This commit is contained in:
mdtrooper 2013-02-28 15:45:58 +00:00
parent b923a055dc
commit 32173c9118
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* 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 <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php, include/functions_gis.php,

View File

@ -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');
});