Commit b8ffb4e4 by Calen Pennington

If rerandomize won't show different values, don't show the reset button

parent 4b5a209b
......@@ -96,6 +96,10 @@ class Module(XModule):
check_button = False
save_button = False
# Only show the reset button if pressing it will show different values
if self.rerandomize != 'always':
reset_button = False
# User hasn't submitted an answer yet -- we don't want resets
if not self.lcp.done:
reset_button = False
......
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