Commit 44739fca11023e22f076c01ad94e5f53c4479b99
1 parent
0bdd71fc
Exists in
master
and in
5 other branches
corrections: Fix registration bug because javascript behaviour
Signed-off-by: Arthur Del Esposte <arthurmde@gmail.com> Signed-off-by: Charles Oliveira <18oliveira.charles@gmail.com> Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
Showing
1 changed file
with
2 additions
and
3 deletions
Show diff stats
public/mpog-user-validations.js
... | ... | @@ -30,7 +30,8 @@ function put_brazil_based_on_email(){ |
30 | 30 | } |
31 | 31 | }); |
32 | 32 | |
33 | - jQuery("#profile_data_country").prop('disabled', gov_suffix); | |
33 | + jQuery("#profile_data_country").find(':not(:selected)').css('display', (gov_suffix?'none':'block')); | |
34 | + | |
34 | 35 | |
35 | 36 | check_reactivate_account(value, input_object) |
36 | 37 | } |
... | ... | @@ -62,6 +63,4 @@ jQuery(document).ready(function(){ |
62 | 63 | jQuery('#secondary_email_field').focus(function() { jQuery('#secondary-email-balloon').fadeIn('slow'); }); |
63 | 64 | jQuery('#secondary_email_field').blur(function() { jQuery('#secondary-email-balloon').fadeOut('slow'); }); |
64 | 65 | |
65 | - jQuery('#area_interest_field').focus(function() { jQuery('#area-interest-balloon').fadeIn('slow'); }); | |
66 | - jQuery('#area_interest_field').blur(function() { jQuery('#area-interest-balloon').fadeOut('slow'); }); | |
67 | 66 | }); | ... | ... |