exelearning/iteexe

Duplicated scripts when exporting cause JS errors

Closed this issue · 2 comments

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.

Example elp: single-page-error.zip

Export as single page to see the error.

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

Only need delete duplicates idevices lines in singlepage.py