We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The plugin re-adds the jquery-ui.min.js and this affects the other addons (datetimepicker, for example)
Chamilo already loads jquery-ui for all pages. So there should be no need to add it back.
Reference
chamilo-lms/plugin/h5p/index.php
Line 22 in ce529e8
The text was updated successfully, but these errors were encountered:
@LudiscapeXApi
Sorry, something went wrong.
This H5P engine is no longer valid, but here is a correction $fh .= '<script>if (!jQuery.ui) {'; $fh .= "$('body').append('<script src=\"".$webPath."web/assets/jquery-ui/jquery-ui.min.js\"></script>');}</script>"; https://github.com/LudiscapeXApi/chamilo-lms/blob/patch-16-jqueryui/plugin/h5p/index.php
$fh .= '<script>if (!jQuery.ui) {'; $fh .= "$('body').append('<script src=\"".$webPath."web/assets/jquery-ui/jquery-ui.min.js\"></script>');}</script>";
Plugin: H5P: Add check to avoid double-loading jquery-ui.min.js - refs …
0ab027d
…#4689
Seems fixed with the proposed patch. Sent here: 0ab027d Thanks! Closing.
No branches or pull requests
The plugin re-adds the jquery-ui.min.js and this affects the other addons (datetimepicker, for example)
Chamilo already loads jquery-ui for all pages. So there should be no need to add it back.
Reference
chamilo-lms/plugin/h5p/index.php
Line 22 in ce529e8
The text was updated successfully, but these errors were encountered: