Skip to content

jquery conflict in scorm package #2025

Description

@ezequiel-alvite-netex

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions