From: Stéphane Jacob Date: Sat, 13 Dec 2008 17:21:29 +0000 (+0100) Subject: Fixes addition of activity sectors in mentor interface. X-Git-Tag: xorg/0.10.1~49^2~53 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=e9d26809acc2619aaa2eef0990f18b8ca605f3f2;p=platal.git Fixes addition of activity sectors in mentor interface. --- diff --git a/htdocs/javascript/profile.js b/htdocs/javascript/profile.js index 108ce44..54aee90 100644 --- a/htdocs/javascript/profile.js +++ b/htdocs/javascript/profile.js @@ -465,7 +465,7 @@ function updateSecteur() + ' ' + '' + data; document.getElementById('ss_secteur_sel').innerHTML = data; - attachEvent(document.forms.prof_annu['jobs[-1][ss_secteur]'], 'change', updateSSecteur); + $(document.forms.prof_annu['jobs[-1][ss_secteur]']).change(updateSSecteur); }); }