diff options
Diffstat (limited to 'testapp/exam/static')
-rw-r--r-- | testapp/exam/static/exam/js/add_question.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/testapp/exam/static/exam/js/add_question.js b/testapp/exam/static/exam/js/add_question.js index 5a94f4c..946c139 100644 --- a/testapp/exam/static/exam/js/add_question.js +++ b/testapp/exam/static/exam/js/add_question.js @@ -154,16 +154,11 @@ function textareaformat() { document.getElementById('id_options').style.visibility='visible'; document.getElementById('label_option').innerHTML="Options :"; - document.getElementById('id_solution').style.visibility='visible'; - document.getElementById('label_solution').innerHTML="Solutions :"; - } else { document.getElementById('id_options').style.visibility='hidden'; document.getElementById('label_option').innerHTML = ""; - document.getElementById('id_solution').style.visibility='hidden'; - document.getElementById('label_solution').innerHTML="" } }); document.getElementById('my').innerHTML = document.getElementById('id_description').value ; @@ -172,16 +167,11 @@ function textareaformat() { document.getElementById('id_options').style.visibility='visible'; document.getElementById('label_option').innerHTML="Options :" - document.getElementById('id_solution').style.visibility='visible'; - document.getElementById('label_solution').innerHTML="Solutions :"; - } else { document.getElementById('id_options').style.visibility='hidden'; document.getElementById('label_option').innerHTML = ""; - document.getElementById('id_solution').style.visibility='hidden'; - document.getElementById('label_solution').innerHTML="" } } |