Merge pull request #6810 from edx/ahsan/tnl-1074-adaptive-hint-inaccessible

Problem with Adaptive Hint is inaccessible
This commit is contained in:
ahsan-ul-haq
2015-02-06 15:15:11 +05:00
3 changed files with 9 additions and 10 deletions

View File

@@ -194,3 +194,4 @@ Mark Sadecki <msadecki@edx.org>
Dino Cikatić <dcikatic@edx.org>
Davorin Šego <dsego@edx.org>
Marko Jevtić <mjevtic@edx.org>
Ahsan Ulhaq <ahsan@edx.org>

View File

@@ -36,13 +36,12 @@ data: |
hint = "&lt;font color='blue'&gt;Hint: {0}&lt;/font&gt;".format(hint)
new_cmap.set_hint_and_mode(aid,hint,'always')
</script>
<p>
What is the best programming language that exists today? You may enter your answer in upper or lower case, with or without quotes. </p>
<p>
<label>
What is the best programming language that exists today? You may enter your answer in upper or lower case, with or without quotes.
<customresponse cfn="test_str" expect="python">
<textline correct_answer="python" label="What is the best programming language that exists today?"/>
<textline correct_answer="python"/>
<hintgroup hintfn="hint_fn"/>
</customresponse>
</p>
</label>
</text>
</problem>

View File

@@ -81,13 +81,12 @@ data: |
hint = "&lt;font color='blue'&gt;Hint: {0}&lt;/font&gt;".format(hint)
new_cmap.set_hint_and_mode(aid,hint,'always')
</script>
<p>
What is the best programming language that exists today? You may enter your answer in upper or lower case, with or without quotes. </p>
<p>
<label>
What is the best programming language that exists today? You may enter your answer in upper or lower case, with or without quotes.
<customresponse cfn="test_str" expect="python">
<textline correct_answer="python" label="What is the best programming language that exists today?"/>
<textline correct_answer="python"/>
<hintgroup hintfn="hint_fn"/>
</customresponse>
</p>
</label>
</text>
</problem>