diff options
author | hardythe1 | 2012-04-18 01:56:51 +0530 |
---|---|---|
committer | hardythe1 | 2012-04-18 01:56:51 +0530 |
commit | 6c0d75e784b87ed05e4c138110f987e88a37701b (patch) | |
tree | 6673608e0513a37b1766dedbad109fc4f73530ff /testapp/templates/exam/add_quiz.html | |
parent | 9d0a737afdb23a50b28237055c87bfa72197d99b (diff) | |
download | online_test-6c0d75e784b87ed05e4c138110f987e88a37701b.tar.gz online_test-6c0d75e784b87ed05e4c138110f987e88a37701b.tar.bz2 online_test-6c0d75e784b87ed05e4c138110f987e88a37701b.zip |
changes for student interface
Diffstat (limited to 'testapp/templates/exam/add_quiz.html')
-rw-r--r-- | testapp/templates/exam/add_quiz.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testapp/templates/exam/add_quiz.html b/testapp/templates/exam/add_quiz.html index c8e1ac3..2667c0c 100644 --- a/testapp/templates/exam/add_quiz.html +++ b/testapp/templates/exam/add_quiz.html @@ -13,7 +13,11 @@ <script type='text/javascript'> function test() { - document.getElementById('id_description').onFocus="javascript:test2()"; + + if (document.getElementById("id_description").value != "") + { + document.getElementById("submit").innerHTML = "Save"; + } } </script> @@ -28,7 +32,7 @@ </table> </center> - <center><button class="btn" type="submit" name="questionpaper">Design Question Paper</button> + <center><button class="btn" type="submit" id="submit" name="questionpaper">Design Question Paper</button> <button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/showquiz/");'>Cancel</button> </center> </form> {% endblock %} |