From 634b586085a3e7a0fe14f2fb6bdb3bc027992d6e Mon Sep 17 00:00:00 2001 From: Vik Paruchuri Date: Wed, 12 Dec 2012 10:44:17 -0500 Subject: [PATCH] Integrate new ajax action --- common/lib/capa/capa/templates/openendedinput.html | 4 ++-- common/lib/xmodule/xmodule/capa_module.py | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/common/lib/capa/capa/templates/openendedinput.html b/common/lib/capa/capa/templates/openendedinput.html index 3d51b7c3b2..6b2b293f42 100644 --- a/common/lib/capa/capa/templates/openendedinput.html +++ b/common/lib/capa/capa/templates/openendedinput.html @@ -29,9 +29,9 @@
${msg|n} % if status in ['correct','incorrect']: -
+
Score Evaluation: - +
% endif diff --git a/common/lib/xmodule/xmodule/capa_module.py b/common/lib/xmodule/xmodule/capa_module.py index 8ce0b17190..3f60fc77f6 100644 --- a/common/lib/xmodule/xmodule/capa_module.py +++ b/common/lib/xmodule/xmodule/capa_module.py @@ -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? '''