summaryrefslogtreecommitdiff
path: root/yaksh/static
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/static')
-rw-r--r--yaksh/static/yaksh/js/add_question.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/yaksh/static/yaksh/js/add_question.js b/yaksh/static/yaksh/js/add_question.js
index 579904b..0f02aab 100644
--- a/yaksh/static/yaksh/js/add_question.js
+++ b/yaksh/static/yaksh/js/add_question.js
@@ -143,23 +143,6 @@ function textareaformat()
$("#id_grade_assignment_upload").prop("disabled", true);
}
});
-
- if (document.getElementById('id_shuffle_testcases').checked ||
- question_type == "mcc" || question_type == "mcq"){
- $("#id_shuffle_testcases").prop("disabled", false);
- }
- else{
- $("#id_shuffle_testcases").prop("disabled", true);
- }
-
- $('#id_type').change(function() {
- if ($(this).val() == "mcc" || $(this).val() == "mcq"){
- $("#id_shuffle_testcases").prop("disabled", false);
- }
- else{
- $("#id_shuffle_testcases").prop("disabled", true);
- }
- });
}
function autosubmit()