summaryrefslogtreecommitdiff
path: root/yaksh/static
diff options
context:
space:
mode:
authorPrabhu Ramachandran2017-04-24 13:35:15 +0530
committerGitHub2017-04-24 13:35:15 +0530
commit7da22eb25f2bd5c0a6c5ba29d1febacb4f03f939 (patch)
tree8c439f46bf96ce695296527072dfa94c7720a041 /yaksh/static
parent0208f8643a80fbee52ad8ff273bdc459f00d0e89 (diff)
parent0688e71c1b20d57234ac19473a88cd8419cd8928 (diff)
downloadonline_test-7da22eb25f2bd5c0a6c5ba29d1febacb4f03f939.tar.gz
online_test-7da22eb25f2bd5c0a6c5ba29d1febacb4f03f939.tar.bz2
online_test-7da22eb25f2bd5c0a6c5ba29d1febacb4f03f939.zip
Merge pull request #268 from adityacp/download_assignments
Download assignments
Diffstat (limited to 'yaksh/static')
-rw-r--r--yaksh/static/yaksh/js/add_question.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/yaksh/static/yaksh/js/add_question.js b/yaksh/static/yaksh/js/add_question.js
index 05752b4..5bec8c6 100644
--- a/yaksh/static/yaksh/js/add_question.js
+++ b/yaksh/static/yaksh/js/add_question.js
@@ -122,9 +122,8 @@ function textareaformat()
});
document.getElementById('my').innerHTML = document.getElementById('id_description').value ;
-
if (document.getElementById('id_grade_assignment_upload').checked ||
- document.getElementById('id_type').val() == 'upload'){
+ document.getElementById('id_type').value == 'upload'){
$("#id_grade_assignment_upload").prop("disabled", false);
}
else{