Fixes autocomplete on first job.
authorStéphane Jacob <sj@m4x.org>
Sun, 12 Sep 2010 11:45:37 +0000 (13:45 +0200)
committerStéphane Jacob <sj@m4x.org>
Sun, 12 Sep 2010 11:45:53 +0000 (13:45 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
htdocs/javascript/profile.js

index 121ba11..a24a83b 100644 (file)
@@ -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;
     }