diff options
author | adityacp | 2017-03-31 16:37:07 +0530 |
---|---|---|
committer | adityacp | 2017-04-10 11:51:08 +0530 |
commit | bd8c2c653a06e29dcf7a1a0103f7735f46f0c488 (patch) | |
tree | aebb26c0e61f9d4050a2a44e0f9441de820956a6 /yaksh/static | |
parent | 592353ba30178654975f4c64602414cac7f41a9d (diff) | |
download | online_test-bd8c2c653a06e29dcf7a1a0103f7735f46f0c488.tar.gz online_test-bd8c2c653a06e29dcf7a1a0103f7735f46f0c488.tar.bz2 online_test-bd8c2c653a06e29dcf7a1a0103f7735f46f0c488.zip |
Change in templates and js and urls
- Add urls to download quiz assignments in urls.p
- Catch Http404 exception message in 404.html template
- Add download assignment links for quiz in grade_user.html
- Fix javascript validation in add_question.js
Diffstat (limited to 'yaksh/static')
-rw-r--r-- | yaksh/static/yaksh/js/add_question.js | 3 |
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{ |