summaryrefslogtreecommitdiff
path: root/testapp/static/exam/js/edit_question.js
diff options
context:
space:
mode:
authorPrabhu Ramachandran2014-06-05 17:56:34 +0530
committerPrabhu Ramachandran2014-06-05 17:56:34 +0530
commit69c114dde3df17a8fd688809beee262f9c274a8d (patch)
tree8f385a3e36fc86b9237107f67122362c49220082 /testapp/static/exam/js/edit_question.js
parent3d0b69caf6b94a1afe95fef2787929c14afdb485 (diff)
parent18cd0fa1def34bb320f38062596789f745bee530 (diff)
downloadonline_test-69c114dde3df17a8fd688809beee262f9c274a8d.tar.gz
online_test-69c114dde3df17a8fd688809beee262f9c274a8d.tar.bz2
online_test-69c114dde3df17a8fd688809beee262f9c274a8d.zip
Merge pull request #16 from prathamesh920/deploy_server
Deploy server
Diffstat (limited to 'testapp/static/exam/js/edit_question.js')
-rw-r--r--testapp/static/exam/js/edit_question.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/testapp/static/exam/js/edit_question.js b/testapp/static/exam/js/edit_question.js
index 8866b9a..28d95f9 100644
--- a/testapp/static/exam/js/edit_question.js
+++ b/testapp/static/exam/js/edit_question.js
@@ -152,11 +152,6 @@ function textareaformat()
var snippet_id = document.getElementById('id_snippet'+i);
$(snippet_id).bind('focus',function(event){
this.rows = 5;
- $(snippet_id).val("");
- });
- $(snippet_id).bind('blur',function(event){
- this.rows = 1;
- $(snippet_id).val("#To avoid indentation errors use tab for indentation for Python questions");
});
$(snippet_id).bind('keydown', function (event){
catchTab(snippet_id,event);
@@ -174,7 +169,6 @@ function textareaformat()
jQuery().ready(function()
{
jQuery("#id_tags" + i).autocomplete("/taggit_autocomplete_modified/json", { multiple: true });
- $(snippet_id).val("#To avoid indentation errors use tab for indentation for Python questions");
});
}
}