Commit 634b5860 by Vik Paruchuri

Integrate new ajax action

parent d663d232
...@@ -29,9 +29,9 @@ ...@@ -29,9 +29,9 @@
<div class="external-grader-message"> <div class="external-grader-message">
${msg|n} ${msg|n}
% if status in ['correct','incorrect']: % if status in ['correct','incorrect']:
<section id="evaluation"> <section id="evaluation_${id}" class="evaluation">
Score 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"/> <input name="submit-message" class="submit-message" type="button" value="Submit your message"/>
</section> </section>
% endif % endif
......
...@@ -395,7 +395,7 @@ class CapaModule(XModule): ...@@ -395,7 +395,7 @@ class CapaModule(XModule):
}) })
return json.dumps(d, cls=ComplexEncoder) 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 Posts a message from a form to an appropriate location
""" """
...@@ -405,8 +405,7 @@ class CapaModule(XModule): ...@@ -405,8 +405,7 @@ class CapaModule(XModule):
answers = self.make_dict_of_responses(get) answers = self.make_dict_of_responses(get)
log.debug(answers) log.debug(answers)
log.debug(event_info)
def closed(self): def closed(self):
''' Is the student still allowed to submit answers? ''' ''' Is the student still allowed to submit answers? '''
......
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