mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Remove security fix for JQuery 1.2 (#33383).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20709 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e5faa47e22
commit
d64a2934ff
@ -1,13 +1,6 @@
|
|||||||
/* Redmine - project management software
|
/* Redmine - project management software
|
||||||
Copyright (C) 2006-2020 Jean-Philippe Lang */
|
Copyright (C) 2006-2020 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);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user