1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-10 19:23:06 +00:00

Merged r17272 into 3.4-stable (#26857).

git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@17273 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2018-04-07 08:08:04 +00:00
parent 578a9e67d3
commit fc401c3ab6

View File

@ -1,6 +1,13 @@
/* Redmine - project management software
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) {
$('#'+id).find('input[type=checkbox]:enabled').prop('checked', checked);
}