Merged r17272 into 3.3-stable (#26857).

git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@17274 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2018-04-07 08:08:43 +00:00
parent 404de3b229
commit e0fbb6f127

View File

@@ -1,6 +1,13 @@
/* Redmine - project management software
Copyright (C) 2006-2016 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);
}