summaryrefslogtreecommitdiff
path: root/yaksh/static
diff options
context:
space:
mode:
authormaheshgudi2017-01-28 01:20:11 +0530
committermaheshgudi2017-01-28 01:21:52 +0530
commit5e7d7190a20ac3eb83ad5dd5e58fa216533eabad (patch)
tree42a1c755c1be20fbf88151d1e2c1a2de5d29ce6f /yaksh/static
parentcc2395f9490bea7d4670094a8c40fdc6d583a891 (diff)
downloadonline_test-5e7d7190a20ac3eb83ad5dd5e58fa216533eabad.tar.gz
online_test-5e7d7190a20ac3eb83ad5dd5e58fa216533eabad.tar.bz2
online_test-5e7d7190a20ac3eb83ad5dd5e58fa216533eabad.zip
added select all to remove all trial papers
Diffstat (limited to 'yaksh/static')
-rw-r--r--yaksh/static/yaksh/js/moderator_dashboard.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/yaksh/static/yaksh/js/moderator_dashboard.js b/yaksh/static/yaksh/js/moderator_dashboard.js
new file mode 100644
index 0000000..87d039c
--- /dev/null
+++ b/yaksh/static/yaksh/js/moderator_dashboard.js
@@ -0,0 +1,14 @@
+$(document).ready(function(){
+$(".selectall").change(function(){
+ if($(this).prop("checked")) {
+ $("#trial input:checkbox").each(function(index, element) {
+ $(this).prop('checked', true);
+ });
+ }
+ else {
+ $("#trial input:checkbox").each(function(index, element) {
+ $(this).prop('checked', false);
+ });
+ }
+ });
+}); \ No newline at end of file