summaryrefslogtreecommitdiff
path: root/testapp/static/exam/js/add_question.js
diff options
context:
space:
mode:
authorprathamesh2013-07-08 11:22:01 +0530
committerprathamesh2013-07-08 11:22:01 +0530
commit754244da53f7e0a63c272ce6d1ffb15c1d5be0ae (patch)
treef505c0b5a1392f552580db5e30b8a33d6faccadb /testapp/static/exam/js/add_question.js
parent8de499263ec00be5e500693b8db7f4b5ee0d15bd (diff)
downloadonline_test-754244da53f7e0a63c272ce6d1ffb15c1d5be0ae.tar.gz
online_test-754244da53f7e0a63c272ce6d1ffb15c1d5be0ae.tar.bz2
online_test-754244da53f7e0a63c272ce6d1ffb15c1d5be0ae.zip
Added few questions. Made changes to fix minor bugs which were found during testing.
Diffstat (limited to 'testapp/static/exam/js/add_question.js')
-rw-r--r--testapp/static/exam/js/add_question.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/testapp/static/exam/js/add_question.js b/testapp/static/exam/js/add_question.js
index e001ee7..ba17492 100644
--- a/testapp/static/exam/js/add_question.js
+++ b/testapp/static/exam/js/add_question.js
@@ -77,10 +77,6 @@ function textareaformat()
document.getElementById('id_points').setAttribute('class','mini-text');
document.getElementById('id_tags').setAttribute('class','tag-text');
- jQuery().ready(function()
- {
- $("#id_snippet").val("#To avoid indentation errors use tabs for indentation for Python questions");
- });
$('#id_snippet').bind('keydown', function( event ){
if(navigator.userAgent.match("Gecko"))
@@ -135,7 +131,6 @@ function textareaformat()
$('#id_snippet').bind('focus', function( event ){
document.getElementById("id_snippet").rows=5;
document.getElementById("id_snippet").cols=40;
- $('#id_snippet').val("");
});
$('#id_snippet').bind('blur', function( event ){
document.getElementById("id_snippet").rows=1;