Commit 5c081904 by Bridger Maxwell

Fixed new implementation of abtest's displayable_items.

parent eb099ea6
......@@ -50,6 +50,11 @@ class ABTestModule(XModule):
def get_children_locations(self):
return self.definition['data']['group_content'][self.group]
def displayable_items(self):
# Most modules return "self" as the displayable_item. We never display ourself
# (which is why we don't implement get_html). We only display our children.
return self.get_children()
# TODO (cpennington): Use Groups should be a first class object, rather than being
......
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