mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-64511' of https://github.com/paulholden/moodle
This commit is contained in:
commit
6e990b0c6b
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ function loadContent(datafile, callback) {
|
||||||
}
|
}
|
||||||
|
|
||||||
newscript.type = 'text/javascript';
|
newscript.type = 'text/javascript';
|
||||||
newscript.src = data;
|
newscript.src = encodeURIComponent(data);
|
||||||
newscript.charset = 'utf-8';
|
newscript.charset = 'utf-8';
|
||||||
document.getElementsByTagName("head")[0].appendChild(newscript);
|
document.getElementsByTagName("head")[0].appendChild(newscript);
|
||||||
|
|
||||||
|
@ -135,4 +135,4 @@ window.$(document).ready(function() {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
handleClick(window.$(this));
|
handleClick(window.$(this));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue