Moved extra settings into state. Added fs module for aux content

This commit is contained in:
Piotr Mitros
2012-05-07 20:13:30 -04:00
parent a0ecbca080
commit e1ac5e9f30
9 changed files with 49 additions and 33 deletions

View File

@@ -19,6 +19,6 @@ class Module(XModule):
def get_html(self):
return '<input type="hidden" class="schematic" name="{item_id}" height="480" width="640">'.format(item_id=self.item_id)
def __init__(self, xml, item_id, ajax_url=None, track_url=None, state=None, render_function = None):
XModule.__init__(self, xml, item_id, ajax_url, track_url, state, render_function)
def __init__(self, system, xml, item_id, state=None):
XModule.__init__(self, system, xml, item_id, state)