summaryrefslogtreecommitdiff
path: root/testapp/templates
diff options
context:
space:
mode:
authorHardik Ghaghada2013-06-10 13:16:27 +0530
committerHardik Ghaghada2013-06-10 13:16:27 +0530
commite9f06f07d3b5dc9d9c9760af38ce00afc5c1db96 (patch)
tree7777689a69bad9d3ca336db75bc1f4a7ebf2602f /testapp/templates
parent71c2ad9ff8adc43f6d576571eceda07758e19ca9 (diff)
downloadonline_test-e9f06f07d3b5dc9d9c9760af38ce00afc5c1db96.tar.gz
online_test-e9f06f07d3b5dc9d9c9760af38ce00afc5c1db96.tar.bz2
online_test-e9f06f07d3b5dc9d9c9760af38ce00afc5c1db96.zip
Added the snippet feature & cleaned JS
Diffstat (limited to 'testapp/templates')
-rw-r--r--testapp/templates/exam/question.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html
index 0fe7345..435f67f 100644
--- a/testapp/templates/exam/question.html
+++ b/testapp/templates/exam/question.html
@@ -93,9 +93,9 @@ function update_time()
<br>
<script type="text/javascript">
- createTextAreaWithLines2('answer');
+ addLineNumbers('answer');
</script>
- <script>createTextAreaWithLines('snippet');</Script>
+ <script>addLineNumbers('snippet');</Script>
{% endif %}
{% if question.type == "mcq" %}