projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1d0136
)
Fixes autocomplete on first empty entreprise (Closes #1232).
author
Stéphane Jacob
<sj@m4x.org>
Fri, 10 Sep 2010 09:48:59 +0000
(11:48 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Fri, 10 Sep 2010 09:49:14 +0000
(11:49 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
htdocs/javascript/profile.js
patch
|
blob
|
blame
|
history
diff --git
a/htdocs/javascript/profile.js
b/htdocs/javascript/profile.js
index
6145692
..
121ba11
100644
(file)
--- a/
htdocs/javascript/profile.js
+++ b/
htdocs/javascript/profile.js
@@
-50,6
+50,9
@@
function wizPage_onLoad(id)
updateJobSubSector(i, $('#job_' + i).find("[name='jobs[" + i + "][subSubSector]']").val());
updateJobAlternates(i);
}
+ if ($('#job_0').find("[name='jobs[0][name]']").val() == '') {
+ $.get(platal_baseurl + 'profile/ajax/job/0', makeAddJob(0));
+ }
break;
}
}