projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee199bc
)
Fixes nationalities addition.
author
Stéphane Jacob
<sj@m4x.org>
Mon, 7 Jun 2010 15:57:09 +0000
(17:57 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Mon, 7 Jun 2010 15:57:09 +0000
(17:57 +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
4bb7eb1
..
4b215f6
100644
(file)
--- a/
htdocs/javascript/profile.js
+++ b/
htdocs/javascript/profile.js
@@
-146,13
+146,13
@@
function delNationality(i)
function addNationality()
{
var i = 0;
- if ($('#nationalit
e
2').find('select').val() == "") {
+ if ($('#nationalit
y
2').find('select').val() == "") {
i = 2;
- } else if ($('#nationalit
e
3').find('select').val() == "") {
+ } else if ($('#nationalit
y
3').find('select').val() == "") {
i = 3;
}
if ((i == 2) || (i == 3)) {
- $('#nationalit
e
' + i).show();
+ $('#nationalit
y
' + i).show();
}
}