Commit 1f7d59de by polesye

BLD-1103: Fix ChoiceTextResponse.

parent 9cc5cf0e
...@@ -5,6 +5,8 @@ These are notable changes in edx-platform. This is a rolling list of changes, ...@@ -5,6 +5,8 @@ These are notable changes in edx-platform. This is a rolling list of changes,
in roughly chronological order, most recent first. Add your entries at or near in roughly chronological order, most recent first. Add your entries at or near
the top. Include a label indicating the component affected. the top. Include a label indicating the component affected.
Blades: Fix link to javascript file in ChoiceTextResponse. BLD-1103.
All: refactored code to handle course_ids, module_ids, etc in a cleaner way. All: refactored code to handle course_ids, module_ids, etc in a cleaner way.
See https://github.com/edx/edx-platform/wiki/Opaque-Keys for details. See https://github.com/edx/edx-platform/wiki/Opaque-Keys for details.
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
%endfor %endfor
<section id="choicetextinput_${id}" class="choicetextinput"> <section id="choicetextinput_${id}" class="choicetextinput">
<form class="choicetextgroup capa_inputtype" id="inputtype_${id}"> <form class="choicetextgroup capa_inputtype" id="inputtype_${id}">
<div class="script_placeholder" data-src="/static/js/capa/choicetextinput.js"/> <div class="script_placeholder" data-src="${STATIC_URL}js/capa/choicetextinput.js"/>
<div class="indicator_container"> <div class="indicator_container">
% if input_type == 'checkbox' or not element_checked: % if input_type == 'checkbox' or not element_checked:
<span class="status ${status.classname}" id="status_${id}"></span> <span class="status ${status.classname}" id="status_${id}"></span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment