summaryrefslogtreecommitdiff
path: root/static/website/js/custom.js
diff options
context:
space:
mode:
authorSashi202018-09-19 11:53:02 +0530
committerSashi202018-09-19 11:53:02 +0530
commitf1874b0e0f5c32fcb2ab3075070a57064f4ed53f (patch)
tree316ce31e8cbf7cd1f9361ff958d90dab2cdb3948 /static/website/js/custom.js
parent0559705f7d919aa9c28547de9195cc479e7273b1 (diff)
downloadnccps-2018-f1874b0e0f5c32fcb2ab3075070a57064f4ed53f.tar.gz
nccps-2018-f1874b0e0f5c32fcb2ab3075070a57064f4ed53f.tar.bz2
nccps-2018-f1874b0e0f5c32fcb2ab3075070a57064f4ed53f.zip
Added checkbox for terms and conditions in paper submission
Diffstat (limited to 'static/website/js/custom.js')
-rw-r--r--static/website/js/custom.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/static/website/js/custom.js b/static/website/js/custom.js
index 2573428..ef59691 100644
--- a/static/website/js/custom.js
+++ b/static/website/js/custom.js
@@ -91,3 +91,14 @@ $(document)
e.preventDefault(); // prevent the default action (scroll / move caret)
});
+$(function()
+{
+ $('#id_terms_and_conditions').click(function()
+ {
+ if ($('#id_terms_and_conditions').is(":checked")) {
+ $('#modal_terms_and_conditions').modal('show');
+ }else {
+ $('#modal_terms_and_conditions').modal('hide');
+ }
+ });
+}); \ No newline at end of file