Skip to content
New issue

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

Duplicated scripts when exporting cause JS errors #713

Closed
ignaciogros opened this issue Dec 4, 2023 · 2 comments
Closed

Duplicated scripts when exporting cause JS errors #713

ignaciogros opened this issue Dec 4, 2023 · 2 comments
Assignees

Comments

@ignaciogros
Copy link
Collaborator

Export a complex content as single page. Some scripts are duplicated (selecciona-activity.js, completa-activity...). That causes a JS error and some activities won't work. Scripts and CSS files should be in HEAD just once.

@ignaciogros
Copy link
Collaborator Author

Example elp: single-page-error.zip

Export as single page to see the error.

See printJavaScriptIdevicesScripts in common.py and addListIdevicesFiles in helper.py

@pabloamayab
Copy link
Collaborator

Only need delete duplicates idevices lines in singlepage.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants