Integrate new ajax action
This commit is contained in:
@@ -29,9 +29,9 @@
|
||||
<div class="external-grader-message">
|
||||
${msg|n}
|
||||
% if status in ['correct','incorrect']:
|
||||
<section id="evaluation">
|
||||
<section id="evaluation_${id}" class="evaluation">
|
||||
Score Evaluation:
|
||||
<textarea rows="${rows}" cols="${cols}" name="feedback-on-feedback" class="feedback-on-feedback">Please enter some comments about the score/feedback you received here.</textarea>
|
||||
<textarea rows="${rows}" cols="${cols}" name="input_${id}" class="feedback-on-feedback" id="input_${id}">Please enter some comments about the score/feedback you received here.</textarea>
|
||||
<input name="submit-message" class="submit-message" type="button" value="Submit your message"/>
|
||||
</section>
|
||||
% endif
|
||||
|
||||
@@ -395,7 +395,7 @@ class CapaModule(XModule):
|
||||
})
|
||||
return json.dumps(d, cls=ComplexEncoder)
|
||||
|
||||
def feedback_post(self, get):
|
||||
def message_post(self, get):
|
||||
"""
|
||||
Posts a message from a form to an appropriate location
|
||||
"""
|
||||
@@ -405,8 +405,7 @@ class CapaModule(XModule):
|
||||
|
||||
answers = self.make_dict_of_responses(get)
|
||||
log.debug(answers)
|
||||
|
||||
|
||||
log.debug(event_info)
|
||||
|
||||
def closed(self):
|
||||
''' Is the student still allowed to submit answers? '''
|
||||
|
||||
Reference in New Issue
Block a user