X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fstatic%2Fjs%2Fmy_account.register.js;h=73b76aca0f39a5d25834402e79561bfec196edc5;hb=d1f853ba9b7438c86a786f523d84238491d9ee6a;hp=bb7fba498528ffdd6c21e4dff8e6a44445e20daf;hpb=abb43f86edd5a2888cb96ca92a58350db9e32fcf;p=myslice.git 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{