chamilo-lms
chamilo-lms copied to clipboard
jquery conflict in scorm package
The Lms inject the following js scripts inside the IFRAME contents:
<script id="_jq" src="http://localhost/chamilo/web/assets/jquery/dist/jquery.min.js"></script>
<script id="_fr7" src="http://localhost/chamilo/web/assets/MathJax/MathJax.js?config=AM_HTMLorMML"></script>
<script id="_fr4" src="http://localhost/chamilo/web/assets/jquery-ui/jquery-ui.min.js"></script><link href="http://localhost/chamilo/web/assets/jquery-ui/themes/smoothness/jquery-ui.min.css" rel="stylesheet" type="text/css"><link href="http://localhost/chamilo/web/assets/jquery-ui/themes/smoothness/theme.css" rel="stylesheet" type="text/css">
<script id="_fr2" src="http://localhost/chamilo/main/inc/lib/javascript/jquery.highlight.js"></script>
<script id="_fr3" src="http://localhost/chamilo/main/glossary/glossary.js.php"></script>
This may cause a conflicts with scorm contents that already use jQuery. Is there any chance to avoid these injections or use jQuery noconflict instead?
Thanks in advance...
We are using v1.11.12 of Chamilo LMS
Whoever will stumble upon this:
disable glossary