projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixes address form in new job edition.
[platal.git]
/
htdocs
/
javascript
/
profile.js
diff --git
a/htdocs/javascript/profile.js
b/htdocs/javascript/profile.js
index
765c43d
..
0d63c9b
100644
(file)
--- a/
htdocs/javascript/profile.js
+++ b/
htdocs/javascript/profile.js
@@
-549,13
+549,13
@@
function makeAddJob(id)
};
}
-function addJob()
+function addJob(
pid
)
{
var i = 0;
while ($('#jobs_' + i).length != 0) {
++i;
}
- $.xget('profile/ajax/job/' + i, makeAddJob(i));
+ $.xget('profile/ajax/job/' + i
+ '/' + pid
, makeAddJob(i));
}
function addEntreprise(id)