Files
edx-platform/lms/templates
Kyle McCormick 90be80e645 fix: assign $$course_id in <head> to fix course-team-authored JS (#26745)
Course-team-authored JS expects $$course_id to be defined
in the global scope. This has worked fine in Legacy courseware,
but due to some differences in page loading (which I don't
understand) between Legacy and Chromeless (ie New/MFE) XBlock
rendering templates, $$course_id wasn't being assigned before
course-team-authored JS was run, causing the scripts to break
on the undefined variable.

The fix here is to assign $$course_id in the <head>,
guaranteeing that the variable is assigned before
any other JS is run.

TNL-7993
2021-02-25 15:54:03 -05:00
..
2020-07-23 10:26:28 +05:00
2020-09-01 16:22:20 +05:00
2020-09-01 16:22:20 +05:00
2019-07-10 13:31:02 +05:00
2020-09-01 16:22:20 +05:00
2020-09-01 16:22:20 +05:00
2020-05-13 06:12:30 +05:00
2019-07-25 10:44:37 +05:00
2019-12-03 15:07:09 -05:00
2020-07-15 12:49:00 +05:00
2019-02-21 20:29:08 -04:00
2019-07-25 10:44:37 +05:00
2017-10-20 16:24:31 -04:00
2020-11-02 11:29:03 -05:00
2020-07-15 12:49:00 +05:00
2020-07-15 12:49:00 +05:00
2021-02-24 07:45:02 -05:00
2020-09-30 10:36:26 +05:00
2020-09-01 16:22:20 +05:00