Adapts mentoring to the new sectors.
[platal.git] / templates / profile / jobs.secteur.tpl
index fddea2e..1b5e31a 100644 (file)
@@ -21,7 +21,8 @@
 {**************************************************************************}
 
 <?xml version="1.0" encoding="utf-8"?>
-<select name="jobs[{$id}][ss_secteur]" onchange="updateJobSousSecteur({$id}, '{$jobid}', '{$jobpref}', ''); return true;">
+<select name="jobs[{$id}][ss_secteur]"
+ {if ($change)}onchange="updateJobSousSecteur({$id}, '{$jobid}', '{$jobpref}', ''); return true;"{/if}>
   <option value=""></option>
   {iterate from=$ssecteurs item=ssecteur}
   {if $ssecteur.optgroup}