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.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/testapp/static/exam/js/edit_question.js b/testapp/static/exam/js/edit_question.js
index 69e0d97..acba384 100644
--- a/testapp/static/exam/js/edit_question.js
+++ b/testapp/static/exam/js/edit_question.js
@@ -33,6 +33,19 @@ function decrease(frm,n)
}
}
+function grade_data(showHideDiv)
+{
+ var ele=document.getElementById(showHideDiv);
+ if (ele.style.display=="block")
+ {
+ ele.style.display = "none";
+ }
+ else
+ {
+ ele.style.display = "block";
+ }
+}
+
function data(showContent,showHideDiv,a,summary)
{