|
|
|
|
|
|
|
|
/* Redmine - project management software |
|
|
/* Redmine - project management software |
|
|
Copyright (C) 2006-2017 Jean-Philippe Lang */ |
|
|
Copyright (C) 2006-2017 Jean-Philippe Lang */ |
|
|
|
|
|
|
|
|
|
|
|
/* Fix for CVE-2015-9251, to be removed with JQuery >= 3.0 */ |
|
|
|
|
|
$.ajaxPrefilter(function (s) { |
|
|
|
|
|
if (s.crossDomain) { |
|
|
|
|
|
s.contents.script = false; |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
function checkAll(id, checked) { |
|
|
function checkAll(id, checked) { |
|
|
$('#'+id).find('input[type=checkbox]:enabled').prop('checked', checked); |
|
|
$('#'+id).find('input[type=checkbox]:enabled').prop('checked', checked); |
|
|
} |
|
|
} |