From: Stéphane Jacob Date: Sun, 12 Sep 2010 11:45:37 +0000 (+0200) Subject: Fixes autocomplete on first job. X-Git-Tag: xorg/1.0.1~203 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=98b19917a08d330ab32abad50ed41c497e7fbe73;p=platal.git Fixes autocomplete on first job. Signed-off-by: Stéphane Jacob --- diff --git a/htdocs/javascript/profile.js b/htdocs/javascript/profile.js index 121ba11..a24a83b 100644 --- a/htdocs/javascript/profile.js +++ b/htdocs/javascript/profile.js @@ -51,7 +51,7 @@ function wizPage_onLoad(id) updateJobAlternates(i); } if ($('#job_0').find("[name='jobs[0][name]']").val() == '') { - $.get(platal_baseurl + 'profile/ajax/job/0', makeAddJob(0)); + registerEnterpriseAutocomplete(0); } break; }