From: Yasin Date: Wed, 25 Sep 2013 15:55:34 +0000 (+0200) Subject: Registration: Upload key and Confirm password back again X-Git-Tag: myslice-0.2-4~2^2~1 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=d1f853ba9b7438c86a786f523d84238491d9ee6a Registration: Upload key and Confirm password back again --- 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 @@