Commit f7558c40 by Don Mitchell

Fixes ../courseware/Peer_Grading_Panel/peergrading:L12P5_grading/ reported bug

parent f883a369
...@@ -191,7 +191,8 @@ class PeerGradingModule(PeerGradingFields, XModule): ...@@ -191,7 +191,8 @@ class PeerGradingModule(PeerGradingFields, XModule):
if not self.use_for_single_location_local: if not self.use_for_single_location_local:
return self.peer_grading() return self.peer_grading()
else: else:
return self.peer_grading_problem({'location': self.link_to_location})['html'] # b/c handle_ajax expects serialized data payload and directly calls peer_grading
return self.peer_grading_problem({'location': self.link_to_location.to_deprecated_string()})['html']
def handle_ajax(self, dispatch, data): def handle_ajax(self, dispatch, data):
""" """
......
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