Feature #33383 » remove_security_fix_for_jquery_1_2.patch
| public/javascripts/application.js | ||
|---|---|---|
|
/* Redmine - project management software
|
||
|
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) {
|
||
|
$('#'+id).find('input[type=checkbox]:enabled').prop('checked', checked);
|
||
|
}
|
||
- « Previous
- 1
- 2
- 3
- 4
- Next »