summaryrefslogtreecommitdiff
path: root/testapp/static/exam/js/edit_question.js
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/static/exam/js/edit_question.js')
-rw-r--r--testapp/static/exam/js/edit_question.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/testapp/static/exam/js/edit_question.js b/testapp/static/exam/js/edit_question.js
index 69e0d97..09cd842 100644
--- a/testapp/static/exam/js/edit_question.js
+++ b/testapp/static/exam/js/edit_question.js
@@ -156,9 +156,11 @@ 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 ;
}