From 9b9301a5d411e38dd5c8cfa783ee1960724115d2 Mon Sep 17 00:00:00 2001 From: Ahsan Ulhaq Date: Wed, 28 Jan 2015 10:21:36 +0000 Subject: [PATCH 1/3] Problem with Adaptive Hint is inaccessible There were no label added for problem with adaptive hint so for the question added the label and insteat of using for attribute used the label as the parent of input field TNL-1074 --- .../xmodule/xmodule/templates/problem/problem_with_hint.yaml | 5 +++-- .../templates/problem/problem_with_hint_in_latex.yaml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/common/lib/xmodule/xmodule/templates/problem/problem_with_hint.yaml b/common/lib/xmodule/xmodule/templates/problem/problem_with_hint.yaml index 8c6e4d3a83..2664171e8d 100644 --- a/common/lib/xmodule/xmodule/templates/problem/problem_with_hint.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/problem_with_hint.yaml @@ -36,13 +36,14 @@ data: | hint = "<font color='blue'>Hint: {0}</font>".format(hint) new_cmap.set_hint_and_mode(aid,hint,'always') -

- What is the best programming language that exists today? You may enter your answer in upper or lower case, with or without quotes.

+ diff --git a/common/lib/xmodule/xmodule/templates/problem/problem_with_hint_in_latex.yaml b/common/lib/xmodule/xmodule/templates/problem/problem_with_hint_in_latex.yaml index 9cdcb5d7af..4ec7215e68 100644 --- a/common/lib/xmodule/xmodule/templates/problem/problem_with_hint_in_latex.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/problem_with_hint_in_latex.yaml @@ -81,13 +81,14 @@ data: | hint = "<font color='blue'>Hint: {0}</font>".format(hint) new_cmap.set_hint_and_mode(aid,hint,'always') -

- What is the best programming language that exists today? You may enter your answer in upper or lower case, with or without quotes.

+ From d2893e1fdc4ff25a70c91da61d8721689b950ac5 Mon Sep 17 00:00:00 2001 From: Ahsan Ulhaq Date: Mon, 2 Feb 2015 18:17:27 +0500 Subject: [PATCH 2/3] Add ahsan to AUTHORS --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 0f27817b18..45b0c48603 100644 --- a/AUTHORS +++ b/AUTHORS @@ -194,3 +194,4 @@ Mark Sadecki Dino Cikatić Davorin Šego Marko Jevtić +Ahsan Ulhaq From 8f71cb60150f35286f224d4ea437d1d88ffc6dab Mon Sep 17 00:00:00 2001 From: Ahsan Ulhaq Date: Wed, 4 Feb 2015 15:25:46 +0500 Subject: [PATCH 3/3] Adaptive hint inaccessible Remove the

and label from textline tnl-1074 --- .../xmodule/xmodule/templates/problem/problem_with_hint.yaml | 4 +--- .../xmodule/templates/problem/problem_with_hint_in_latex.yaml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/common/lib/xmodule/xmodule/templates/problem/problem_with_hint.yaml b/common/lib/xmodule/xmodule/templates/problem/problem_with_hint.yaml index 2664171e8d..e8981840b9 100644 --- a/common/lib/xmodule/xmodule/templates/problem/problem_with_hint.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/problem_with_hint.yaml @@ -38,12 +38,10 @@ data: |

- + -

diff --git a/common/lib/xmodule/xmodule/templates/problem/problem_with_hint_in_latex.yaml b/common/lib/xmodule/xmodule/templates/problem/problem_with_hint_in_latex.yaml index 4ec7215e68..b4f5bda678 100644 --- a/common/lib/xmodule/xmodule/templates/problem/problem_with_hint_in_latex.yaml +++ b/common/lib/xmodule/xmodule/templates/problem/problem_with_hint_in_latex.yaml @@ -83,12 +83,10 @@ data: |