diff options
Diffstat (limited to 'testapp/templates/exam/add_quiz.html')
-rw-r--r-- | testapp/templates/exam/add_quiz.html | 12 |
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 %} |