| Line 578... |
Line 578... |
| 578 |
});
|
578 |
});
|
| 579 |
}
|
579 |
}
|
| Line 580... |
Line 580... |
| 580 |
|
580 |
|
| 581 |
function getUrlAutocompletionNomsSci() {
|
581 |
function getUrlAutocompletionNomsSci() {
|
| 582 |
var mots = $('#taxon').val(),
|
582 |
var mots = $('#taxon').val(),
|
| 583 |
url = SERVICE_AUTOCOMPLETION_NOM_SCI_URL_TPL.replace('{referentiel}',NOM_SCI_PROJET);
|
583 |
url = SERVICE_AUTOCOMPLETION_NOM_SCI_URL_TPL.replace('{referentiel}',NOM_SCI_REFERENTIEL);
|
| 584 |
url = url.replace('{masque}', mots);
|
584 |
url = url.replace('{masque}', mots);
|
| 585 |
return url;
|
585 |
return url;
|
| Line 586... |
Line 586... |
| 586 |
}
|
586 |
}
|
| Line 1062... |
Line 1062... |
| 1062 |
|
1062 |
|
| 1063 |
function afficherObs() {
|
1063 |
function afficherObs() {
|
| 1064 |
var numNomSel = ($('#taxon-liste').val() == '?') ? $('#taxon').data('numNomSel') : $('#taxon-liste').val(),
|
1064 |
var numNomSel = ($('#taxon-liste').val() == '?') ? $('#taxon').data('numNomSel') : $('#taxon-liste').val(),
|
| 1065 |
nomSpecial = $('#taxon-liste option:selected').hasClass('nom-special'),
|
1065 |
nomSpecial = $('#taxon-liste option:selected').hasClass('nom-special'),
|
| 1066 |
taxon = ($('#taxon-liste').val() == '?') ? $('#taxon').val() : $('#taxon-liste option:selected').data('nom-a-sauver'),
|
1066 |
taxon = ($('#taxon-liste').val() == '?') ? $('#taxon').val() : $('#taxon-liste option:selected').data('nom-a-sauver'),
|
| 1067 |
referentiel = (numNomSel == undefined) ? '' : '['+NOM_SCI_PROJET+']',
|
1067 |
referentiel = (numNomSel == undefined) ? '' : '['+NOM_SCI_REFERENTIEL+']',
|
| 1068 |
commune = $('#commune-nom').text(),
|
1068 |
commune = $('#commune-nom').text(),
|
| 1069 |
codeInsee = $('#commune-code-insee').text(),
|
1069 |
codeInsee = $('#commune-code-insee').text(),
|
| 1070 |
lat = $('input[name="latitude"]').val(),
|
1070 |
lat = $('input[name="latitude"]').val(),
|
| 1071 |
lng = $('input[name="longitude"]').val(),
|
1071 |
lng = $('input[name="longitude"]').val(),
|