diff --git a/lms/templates/courseware/courseware-chromeless.html b/lms/templates/courseware/courseware-chromeless.html index 929b002cb5..efb614c81a 100644 --- a/lms/templates/courseware/courseware-chromeless.html +++ b/lms/templates/courseware/courseware-chromeless.html @@ -51,6 +51,14 @@ ${static.get_page_title_breadcrumbs(course_name())} ## in this iframe to navigate the parent window. %endif + +## Expose the $$course_id variable for course-team-authored JS. +## We assign it in the so that it will definitely be +## assigned before any in-XBlock JS is run. + + <%block name="js_extra"> @@ -66,10 +74,6 @@ ${static.get_page_title_breadcrumbs(course_name())} <%include file="xqa_interface.html"/> % endif - - ${HTML(fragment.foot_html())}