Line 1059... |
Line 1059... |
1059 |
}
|
1059 |
}
|
1060 |
}
|
1060 |
}
|
Line 1061... |
Line 1061... |
1061 |
|
1061 |
|
1062 |
function afficherObs() {
|
1062 |
function afficherObs() {
|
1063 |
var numNomSel = ($('#taxon-liste').val() == '?') ? $('#taxon').data('numNomSel') : $('#taxon-liste').val(),
|
1063 |
var numNomSel = ($('#taxon-liste').val() == '?') ? $('#taxon').data('numNomSel') : $('#taxon-liste').val(),
|
1064 |
taxon = ($('#taxon-liste').val() == '?') ? $('#taxon').val() : taxons[numNomSel]['nom_sel'],
|
1064 |
taxon = ($('#taxon-liste').val() == '?') ? $('#taxon').val() : $('#taxon-liste option:selected').data('nom-a-sauver'),
|
1065 |
referentiel = (numNomSel == undefined) ? '' : '['+NOM_SCI_PROJET+']',
|
1065 |
referentiel = (numNomSel == undefined) ? '' : '['+NOM_SCI_PROJET+']',
|
1066 |
commune = $('#commune-nom').text(),
|
1066 |
commune = $('#commune-nom').text(),
|
1067 |
codeInsee = $('#commune-code-insee').text(),
|
1067 |
codeInsee = $('#commune-code-insee').text(),
|
1068 |
lat = $('input[name="latitude"]').val(),
|
1068 |
lat = $('input[name="latitude"]').val(),
|
Line 1268... |
Line 1268... |
1268 |
}
|
1268 |
}
|
Line 1269... |
Line 1269... |
1269 |
|
1269 |
|
1270 |
function stockerObsData() {
|
1270 |
function stockerObsData() {
|
1271 |
var nomHorsListe = $('#taxon-liste').val() == '?' ? true : false;
|
1271 |
var nomHorsListe = $('#taxon-liste').val() == '?' ? true : false;
|
1272 |
numNomSel = nomHorsListe ? $('#taxon').data('numNomSel') : $('#taxon-liste').val(),
|
1272 |
numNomSel = nomHorsListe ? $('#taxon').data('numNomSel') : $('#taxon-liste').val(),
|
1273 |
nomSel = nomHorsListe ? $('#taxon').val() : taxons[numNomSel]['nom_sel'],
|
1273 |
nomSel = nomHorsListe ? $('#taxon').val() : $('#taxon-liste option:selected').data('nom-a-sauver'),
|
1274 |
nomRet = nomHorsListe ? $('#taxon').data('nomRet') : taxons[numNomSel]['nom_ret'],
|
1274 |
nomRet = nomHorsListe ? $('#taxon').data('nomRet') : taxons[numNomSel]['nom_ret'],
|
1275 |
numNomRet = nomHorsListe ? $('#taxon').data('numNomRet') : taxons[numNomSel]['num_nom_ret'],
|
1275 |
numNomRet = nomHorsListe ? $('#taxon').data('numNomRet') : taxons[numNomSel]['num_nom_ret'],
|
1276 |
numTaxon = nomHorsListe ? $('#taxon').data('nt') : taxons[numNomSel]['num_taxon'],
|
1276 |
numTaxon = nomHorsListe ? $('#taxon').data('nt') : taxons[numNomSel]['num_taxon'],
|
1277 |
famille = nomHorsListe ? $('#taxon').data('famille') : taxons[numNomSel]['famille'],
|
1277 |
famille = nomHorsListe ? $('#taxon').data('famille') : taxons[numNomSel]['famille'],
|