X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=portal%2Fstatic%2Fjs%2Fmy_account.edit_profile.js;h=70607ba96c6be018dddd491ce6cc63e3d938156b;hp=dcbfbb3057e508554dc6bb3dd7f493f148665040;hb=1ca2768a7aad52401201b6746e42d51194c00f15;hpb=caafec9916ce3ca86106a7bc8aa167b53309e072 diff --git a/portal/static/js/my_account.edit_profile.js b/portal/static/js/my_account.edit_profile.js index dcbfbb30..70607ba9 100644 --- a/portal/static/js/my_account.edit_profile.js +++ b/portal/static/js/my_account.edit_profile.js @@ -162,16 +162,19 @@ jQuery(document).ready(function(){ }); }); -// alert box for the "Generate new Key Pair button" -function myFunction() + +function editAlert() { -alert("You have requested to generate new key pairs. Please download and save the new keypairs after receiving the success message."); +alert("You can't edit email/authority. Please contact support and specify your requirements."); +window.location.href = "/portal/contact/"; } -function emailAlert() + +/* +// alert box for the "Generate new Key Pair button" +function myFunction() { -alert("To edit email please contact the administratior. You will be redirected to the support page now"); -window.location.href = "/portal/contact/"; +alert("You have requested to generate new key pairs. Please download and save the new keypairs after receiving the success message."); } function affAlert() @@ -179,7 +182,7 @@ function affAlert() alert("To edit affiliation please contact the administratior. You will be redirected to the support page now"); window.location.href = "/portal/contact/"; } -/* + // alert having ok or cancel option function show_confirm() {