chamilo-lms icon indicating copy to clipboard operation
chamilo-lms copied to clipboard

jquery conflict in scorm package

Open ezequiel-alvite-netex opened this issue 8 years ago • 1 comments

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

ezequiel-alvite-netex avatar Jun 13 '17 11:06 ezequiel-alvite-netex

Whoever will stumble upon this:

disable glossary

lonesomewalker avatar Nov 25 '25 10:11 lonesomewalker