Commit bdd4677e by Justin Riley

preserve 'extended_due' state when resetting

parent c344e846
......@@ -100,6 +100,8 @@ class TreeNodeSet(list):
# preserve it so leaving it commented for now
# if 'position' in old_state:
# state['position'] = old_state['position']
if 'extended_due' in old_state:
state['extended_due'] = old_state['extended_due']
module.smstate.state = json.dumps(state)
module.smstate.grade = None
module.smstate.save()
......
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