From d1f853ba9b7438c86a786f523d84238491d9ee6a Mon Sep 17 00:00:00 2001 From: Yasin Date: Wed, 25 Sep 2013 17:55:34 +0200 Subject: [PATCH] Registration: Upload key and Confirm password back again --- portal/static/js/my_account.register.js | 4 ++-- portal/templates/registration_view.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/portal/static/js/my_account.register.js b/portal/static/js/my_account.register.js index bb7fba49..73b76aca 100644 --- a/portal/static/js/my_account.register.js +++ b/portal/static/js/my_account.register.js @@ -8,7 +8,7 @@ Copyright 2013, UPMC Sorbonne Universités / LIP6 */ jQuery(document).ready(function(){ - jQuery("#commentForm").validate({ + jQuery("#registrationForm").validate({ rules: { password: { required: true @@ -19,7 +19,7 @@ jQuery(document).ready(function(){ } }); // upload button - jQuery("#question").change(function(){ + jQuery("#key-policy").change(function(){ if(this.value=="upload"){ jQuery("#upload_key").show(); }else{ diff --git a/portal/templates/registration_view.html b/portal/templates/registration_view.html index 18759f4e..cc5e86d2 100644 --- a/portal/templates/registration_view.html +++ b/portal/templates/registration_view.html @@ -92,7 +92,7 @@