summaryrefslogtreecommitdiff
path: root/static/website/js
diff options
context:
space:
mode:
authorSashi202018-09-19 12:39:53 +0530
committerGitHub2018-09-19 12:39:53 +0530
commitc907f4978c420c357e23c0f9098ca3d69a135bba (patch)
tree469d96d5e2729cfb7d78f696d9114a3a4b9dfd82 /static/website/js
parent3ff95c180e304f889ddc0113603ac98bce63f42f (diff)
parent0f977c31a390436cf19eb5a78c4ebbb1de845d79 (diff)
downloadnccps-2018-c907f4978c420c357e23c0f9098ca3d69a135bba.tar.gz
nccps-2018-c907f4978c420c357e23c0f9098ca3d69a135bba.tar.bz2
nccps-2018-c907f4978c420c357e23c0f9098ca3d69a135bba.zip
Merge pull request #9 from Sashi20/master
Added checkbox for terms and conditions in paper submission and modified email template for submission acknowledgement
Diffstat (limited to 'static/website/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