Commit f7d379d6 by solashirai Committed by Piotr Mitros

corrected wording

parent 0d64121a
This is the repository for the Crowdsource Hinter XBlock. The Crowdsource Hinter serves to provide students with hints when they incorrectly answer a problem within a course (currently tested for text and numerical input type questions).
This is the repository for the Crowdsource Hinter XBlock. The Crowdsource Hinter serves to provide students with hints when they incorrectly answer a problem within a course. The hinter is compatible with numerical input and text input type problems.
This XBlock is still a prototype.
......
......@@ -2,8 +2,6 @@ function CrowdsourceHinter(runtime, element, data){
var onHinterPage = true; //We don't do hinter logic if we're on a differ tab in a sequential.
var problemElement = '';
$(".crowdsourcehinter_block", element).hide();
if(!onHinterPage){
......@@ -93,6 +91,7 @@ function CrowdsourceHinter(runtime, element, data){
* problem block if no hinting element has been manually entered.
*/
if(data.hinting_element == undefined || data.hinting_element == ''){
//contains workaround because the data-usage-id shows up with ";_" in place of "/" in lms
hintingElement = ($('.xblock[data-block-type="problem"]').first().attr('data-usage-id')).replace(/;_/g, '/');
} else {
hintingElement = data.hinting_element;
......
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