summaryrefslogtreecommitdiff
path: root/testapp/static/exam/js
diff options
context:
space:
mode:
authorHardik Ghaghada2013-04-24 00:09:55 +0530
committerHardik Ghaghada2013-04-24 00:09:55 +0530
commita89aff61b6bab0859c9f81142aa6be5d0ccc8ba1 (patch)
tree6ec4f8e01886c5b82bf70d4e3cbdd5a3d1469dfc /testapp/static/exam/js
parent0890351ba31dfe3904ff0f064ce9316405473cd3 (diff)
downloadonline_test-a89aff61b6bab0859c9f81142aa6be5d0ccc8ba1.tar.gz
online_test-a89aff61b6bab0859c9f81142aa6be5d0ccc8ba1.tar.bz2
online_test-a89aff61b6bab0859c9f81142aa6be5d0ccc8ba1.zip
80 Cols per line, corrected indentation in files & implemented DRY
Diffstat (limited to 'testapp/static/exam/js')
-rw-r--r--testapp/static/exam/js/edit_question.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/testapp/static/exam/js/edit_question.js b/testapp/static/exam/js/edit_question.js
index 09cd842..69e0d97 100644
--- a/testapp/static/exam/js/edit_question.js
+++ b/testapp/static/exam/js/edit_question.js
@@ -156,11 +156,9 @@ function autosubmit()
}
else
{
- alert("hello")
count_mcq = count_mcq + 1;
var options = document.getElementById('id_options' + i).value;
var total_words = options.split("\n").length ;
- alert(total_words)
if ( total_words < 4)
empty_options = empty_options + 1 ;
}