summaryrefslogtreecommitdiff
path: root/testapp/templates/exam/add_quiz.html
diff options
context:
space:
mode:
authorHardik Ghaghada2013-04-26 16:40:34 +0530
committerHardik Ghaghada2013-04-26 16:40:34 +0530
commitc8b68813ca80aee16261e5f02d541ed48712feae (patch)
tree85ee9038f09b7aab4fb1b57cbb444108736f708e /testapp/templates/exam/add_quiz.html
parent1dd9573cfaa0587cd3217495847a0b456ceb6223 (diff)
downloadonline_test-c8b68813ca80aee16261e5f02d541ed48712feae.tar.gz
online_test-c8b68813ca80aee16261e5f02d541ed48712feae.tar.bz2
online_test-c8b68813ca80aee16261e5f02d541ed48712feae.zip
Dumped JS from HTML pages to separate JS files
Diffstat (limited to 'testapp/templates/exam/add_quiz.html')
-rw-r--r--testapp/templates/exam/add_quiz.html12
1 files changed, 1 insertions, 11 deletions
diff --git a/testapp/templates/exam/add_quiz.html b/testapp/templates/exam/add_quiz.html
index 2667c0c..9851584 100644
--- a/testapp/templates/exam/add_quiz.html
+++ b/testapp/templates/exam/add_quiz.html
@@ -10,17 +10,7 @@
{% block script %}
<script src="/static/taggit_autocomplete_modified/jquery.min.js" type="text/javascript"></script>
<script src="/static/taggit_autocomplete_modified/jquery.autocomplete.js" type="text/javascript"></script>
-<script type='text/javascript'>
- function test()
- {
-
- if (document.getElementById("id_description").value != "")
- {
- document.getElementById("submit").innerHTML = "Save";
- }
- }
-
-</script>
+<script src="{{ URL_ROOT }}/static/exam/js/add_quiz.js"></script>
{% endblock %}
{% block onload %} onload="javascript:test();" {% endblock %}
{% block manage %}