projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c8beea
)
clear subsector selector when sector is null
author
Pascal Corpet
<pascal.corpet@m4x.org>
Sun, 23 Mar 2008 21:29:25 +0000
(22:29 +0100)
committer
Pascal Corpet
<pascal.corpet@m4x.org>
Sun, 23 Mar 2008 21:30:40 +0000
(22:30 +0100)
htdocs/javascript/profile.js
patch
|
blob
|
blame
|
history
diff --git
a/htdocs/javascript/profile.js
b/htdocs/javascript/profile.js
index
91e4f78
..
5c25580
100644
(file)
--- a/
htdocs/javascript/profile.js
+++ b/
htdocs/javascript/profile.js
@@
-454,6
+454,8
@@
function updateSecteur()
var secteur = document.forms.prof_annu.secteur_sel.value;
if (secteur == '') {
secteur = '-1';
+ document.getElementById('ss_secteur_sel').innerHTML = '';
+ return;
}
$.get(platal_baseurl + 'profile/ajax/secteur/-1/' + secteur,
function(data) {