diff options
author | hardythe1 | 2013-07-01 11:56:32 +0530 |
---|---|---|
committer | hardythe1 | 2013-07-01 11:56:32 +0530 |
commit | f5ef323d03dd80e1ae00f306ac44f5ee3efb3e7c (patch) | |
tree | e957b93691515c5ab50db5ed0365658263809460 /testapp/static/exam/js/add_question.js | |
parent | 5ce91d1f2b2f2434bc51ddeeaf4f9f27305d1145 (diff) | |
download | online_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.js | 4 |
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') |