summaryrefslogtreecommitdiff
path: root/testapp/static/exam/js/edit_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/edit_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/edit_question.js')
-rw-r--r--testapp/static/exam/js/edit_question.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/testapp/static/exam/js/edit_question.js b/testapp/static/exam/js/edit_question.js
index a5d4e2b..28d95f9 100644
--- a/testapp/static/exam/js/edit_question.js
+++ b/testapp/static/exam/js/edit_question.js
@@ -152,7 +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('keydown', function (event){
catchTab(snippet_id,event);
@@ -170,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");
});
}
}