Commit 330a96c5 by solashirai Committed by Piotr Mitros

changed problem_graded to problem_check

parent 839f772f
......@@ -38,7 +38,7 @@ class CrowdsourceHinter(XBlock):
# particular incorrect answer)
#
# Example: ["Make sure to check your answer for simple mistakes, like spelling or spaces!"]
generic_hints = List(default=[], scope=Scope.content)
generic_hints = List(default=["check for simple mistakes like typos"], scope=Scope.content)
# List of which hints have been shown to the student
# this list is used to prevent the same hint from showing up to a student (if they submit the same incorrect answers
# multiple times)
......
function CrowdsourceHinter(runtime, element){
//executeHinter is used to disable the hinter after switching units in an edX course
//If the code is not made to stop running, the hinter will act up after switching from and back to
......@@ -24,7 +25,7 @@ function CrowdsourceHinter(runtime, element){
function get_event_data(event_type, data, element){
onStudentSubmission(data);
}
Logger.listen('problem_graded', null, get_event_data);
Logger.listen('problem_check', null, get_event_data);
function onStudentSubmission(problem_graded_event_data){
//This function will determine whether or not the student correctly answered the question.
......
......@@ -4,12 +4,9 @@ crowdsourcehinter/crowdsourcehinter.py
crowdsourcehinter/public/3rdParty/mustache.js
crowdsourcehinter/static/README.txt
crowdsourcehinter/static/css/crowdsourcehinter.css
crowdsourcehinter/static/css/crowdsourcehinter.css~
crowdsourcehinter/static/html/crowdsourcehinter.html
crowdsourcehinter/static/html/crowdsourcehinter.html~
crowdsourcehinter/static/html/crowdsourcehinterstudio.html
crowdsourcehinter/static/js/src/crowdsourcehinter.js
crowdsourcehinter/static/js/src/crowdsourcehinter.js~
crowdsourcehinter_xblock.egg-info/PKG-INFO
crowdsourcehinter_xblock.egg-info/SOURCES.txt
crowdsourcehinter_xblock.egg-info/dependency_links.txt
......
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