X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Fjavascript%2Fprofile.js;h=cafaba92b6af7c93bf90b248784d5beeb70e1acd;hb=0b6c8b36e62b950d1b24088e98c4026a54efe9d0;hp=217658bc30593364df59e695d3c3038bd73e1f0e;hpb=c8023e61e995f45eab8a47b1fb2d87de16363924;p=platal.git diff --git a/htdocs/javascript/profile.js b/htdocs/javascript/profile.js index 217658b..cafaba9 100644 --- a/htdocs/javascript/profile.js +++ b/htdocs/javascript/profile.js @@ -381,7 +381,7 @@ function renumberPhone(prefname, prefid, i) $('#' + id).find('div.titre').html('N°' + i); $('#' + id).find('a.removeTel').attr('href', 'javascript:removeTel(\'' + prefname + '\',\'' + prefid + '\',' + telid + ')'); $('#' + id).find('select').attr('name', telpref + '[type]'); - $('#' + id).find("[name='" + telprefOld + "[tel]']").attr('name', telpref + '[tel]'); + $('#' + id).find("[name='" + telprefOld + "[display]']").attr('name', telpref + '[display]'); $('#' + id).find("[name='" + telprefOld + "[comment]']").attr('name', telpref + '[comment]'); $('#' + id).find('a.removePhoneComment').attr('href', 'javascript:removePhoneComment(' + id + ',' + telpref + ')'); $('#' + id).find('#' + idOld + '_addComment').attr('id', id + '_addComment');