summaryrefslogtreecommitdiff
path: root/testapp/static/exam/js/show_quiz.js
diff options
context:
space:
mode:
authorprathamesh2014-07-11 14:14:19 +0530
committerprathamesh2014-07-11 14:14:19 +0530
commit0143710e78ae01bae78a3b760fc8410bc86a3b2b (patch)
tree59fbd9e0abd47b04e20727c502d8d7a509f9495e /testapp/static/exam/js/show_quiz.js
parente89f0b0e3a74195b3bce0f68c337ead9dc18a11e (diff)
downloadonline_test-0143710e78ae01bae78a3b760fc8410bc86a3b2b.tar.gz
online_test-0143710e78ae01bae78a3b760fc8410bc86a3b2b.tar.bz2
online_test-0143710e78ae01bae78a3b760fc8410bc86a3b2b.zip
Moved templates and static inside the app.
Diffstat (limited to 'testapp/static/exam/js/show_quiz.js')
-rw-r--r--testapp/static/exam/js/show_quiz.js41
1 files changed, 0 insertions, 41 deletions
diff --git a/testapp/static/exam/js/show_quiz.js b/testapp/static/exam/js/show_quiz.js
deleted file mode 100644
index c58feaa..0000000
--- a/testapp/static/exam/js/show_quiz.js
+++ /dev/null
@@ -1,41 +0,0 @@
-function confirm_delete(frm)
-{
- var n=0;
- quiz = document.getElementsByName('quiz');
- for (var i =0;i<quiz.length;i++)
- {
- if (quiz[i].checked == false)
- n = n + 1 ;
- }
- if(n==quiz.length)
- {
- alert("Please Select at least one Quiz");
- return false;
- }
- var r = confirm("Are you Sure ?");
- if(r==false)
- {
- for(i=0;i<quiz.length;i++)
- {
- quiz[i].checked=false;
- }
- return false;
- }
-}
-function confirm_edit(frm)
-{
- var n = 0;
- quiz = document.getElementsByName('quiz');
- for (var i =0;i<quiz.length;i++)
- {
- if (quiz[i].checked == false)
- n = n + 1 ;
- }
- if(n == quiz.length)
- {
- alert("Please Select at least one Question");
- return false;
- }
- else
- return true;
-}