From e6db6e9ea3acb798638368aa78397c75e54c56e8 Mon Sep 17 00:00:00 2001 From: Felix Sun Date: Fri, 19 Jul 2013 16:03:32 -0400 Subject: [PATCH] Fixed bug where user isn't asked to submit a hint unless he's seen a hint. --- common/lib/xmodule/xmodule/crowdsource_hinter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/crowdsource_hinter.py b/common/lib/xmodule/xmodule/crowdsource_hinter.py index 09783de5fd..20a41dad06 100644 --- a/common/lib/xmodule/xmodule/crowdsource_hinter.py +++ b/common/lib/xmodule/xmodule/crowdsource_hinter.py @@ -246,7 +246,7 @@ class CrowdsourceHinterModule(CrowdsourceHinterFields, XModule): """ # The student got it right. # Did he submit at least one wrong answer? - if len(self.previous_answers) == 0: + if len(self.user_submissions) == 0: # No. Nothing to do here. return # Make a hint-voting interface for each wrong answer. The student will only