From a43b09c0a9c49e06d8f0b4ba1f960f5e833c6795 Mon Sep 17 00:00:00 2001 From: Bridger Maxwell Date: Thu, 20 Sep 2012 13:23:47 -0400 Subject: [PATCH] Fixed new implementation of abtest's displayable_items. --- common/lib/xmodule/xmodule/abtest_module.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/lib/xmodule/xmodule/abtest_module.py b/common/lib/xmodule/xmodule/abtest_module.py index 7080682172..8fd4810946 100644 --- a/common/lib/xmodule/xmodule/abtest_module.py +++ b/common/lib/xmodule/xmodule/abtest_module.py @@ -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