From e9d26809acc2619aaa2eef0990f18b8ca605f3f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sat, 13 Dec 2008 18:21:29 +0100 Subject: [PATCH] Fixes addition of activity sectors in mentor interface. --- htdocs/javascript/profile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); } -- 2.1.4