Integrate new ajax action

This commit is contained in:
Vik Paruchuri
2012-12-12 10:44:17 -05:00
parent d663d23257
commit 634b586085
2 changed files with 4 additions and 5 deletions

View File

@@ -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

View File

@@ -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? '''