X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fsearch%2Fadv.form.tpl;h=5521a003b21ca8bfab264f009a0bb70830b4eb90;hb=3ac45f10c6b54e4db4bfeb0aeb5eef0f5ee5d1b2;hp=ff73a1c77fc078490bea29bef7f07b6684ef4912;hpb=ed92ea696e042eb9b2d0efcc4731fdf89fb17924;p=platal.git diff --git a/templates/search/adv.form.tpl b/templates/search/adv.form.tpl index ff73a1c..5521a00 100644 --- a/templates/search/adv.form.tpl +++ b/templates/search/adv.form.tpl @@ -84,6 +84,13 @@ }); } + // when choosing a job term in tree, hide tree and set job term field + function searchForJobTerm(treeid, jtid, full_name) { + $(".term_tree").remove(); + $("input[name='jobtermTxt']").val(full_name).addClass("hidden_valid").show(); + $("input[name='jobterm']").val(jtid); + } + // when choosing autocomplete from list, must validate function select_autocomplete(name) { nameRealField = name.replace(/Txt$/, ''); @@ -305,12 +312,12 @@ - Secteur + Mots-clefs - - - {icon name="table" title="Tous les secteurs"} + + + {icon name="table" title="Tous les mots-clefs"}