summaryrefslogtreecommitdiff
path: root/testapp/static/exam/js/add_question.js
diff options
context:
space:
mode:
authorhardythe12013-07-01 11:56:32 +0530
committerhardythe12013-07-01 11:56:32 +0530
commitf5ef323d03dd80e1ae00f306ac44f5ee3efb3e7c (patch)
treee957b93691515c5ab50db5ed0365658263809460 /testapp/static/exam/js/add_question.js
parent5ce91d1f2b2f2434bc51ddeeaf4f9f27305d1145 (diff)
downloadonline_test-f5ef323d03dd80e1ae00f306ac44f5ee3efb3e7c.tar.gz
online_test-f5ef323d03dd80e1ae00f306ac44f5ee3efb3e7c.tar.bz2
online_test-f5ef323d03dd80e1ae00f306ac44f5ee3efb3e7c.zip
edited JS to give a msg when the answer is correct
Diffstat (limited to 'testapp/static/exam/js/add_question.js')
-rw-r--r--testapp/static/exam/js/add_question.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/testapp/static/exam/js/add_question.js b/testapp/static/exam/js/add_question.js
index ab27dc0..a77e392 100644
--- a/testapp/static/exam/js/add_question.js
+++ b/testapp/static/exam/js/add_question.js
@@ -139,9 +139,7 @@ function textareaformat()
$('#id_snippet').bind('blur', function( event ){
document.getElementById("id_snippet").rows=1;
document.getElementById("id_snippet").cols=40;
- $('#id_snippet').val("#To avoid indentation errors use tabs for indentation for Python questions");
- });
-
+ });
$('#id_type').bind('change',function(event){
var value = document.getElementById('id_type').value;
if(value == 'mcq')