Subversion Repositories eFlore/Applications.cel

Rev

Rev 2708 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2708 Rev 2709
Line 7... Line 7...
7
	this.latLngFin = undefined;
7
	this.latLngFin = undefined;
8
	this.ligneRue = undefined;
8
	this.ligneRue = undefined;
9
	this.premierDeplacement = true;
9
	this.premierDeplacement = true;
10
	this.valeurChamp = "";
10
	this.valeurChamp = "";
11
	this.avertissementDeuxPhotosAffiche = false;
11
	this.avertissementDeuxPhotosAffiche = false;
12
	this.taxons = {};
-
 
13
	this.googleMapMarqueurDebutUrl = null;
12
	this.googleMapMarqueurDebutUrl = null;
14
	this.googleMapMarqueurFinUrl = null;
13
	this.googleMapMarqueurFinUrl = null;
15
	this.ville = null;
14
	this.ville = null;
16
	this.supprimerIconeUrl = null;
15
	this.supprimerIconeUrl = null;
-
 
16
	this.taxons = {};
17
}	
17
}	
18
WidgetSaisieSauvages.prototype = new WidgetSaisie();
18
WidgetSaisieSauvages.prototype = new WidgetSaisie();
Line 19... Line 19...
19
 
19
 
20
// surcharge
20
// surcharge
Line 739... Line 739...
739
// surcharge
739
// surcharge
740
WidgetSaisieSauvages.prototype.stockerObsData = function() {
740
WidgetSaisieSauvages.prototype.stockerObsData = function() {
741
	var lthis = this;
741
	var lthis = this;
742
	var nomHorsListe = $('#taxon-liste').val() == '?' ? true : false;
742
	var nomHorsListe = $('#taxon-liste').val() == '?' ? true : false;
743
		nomSpecial = $('#taxon-liste option:selected').hasClass('nom-special'),
743
		nomSpecial = $('#taxon-liste option:selected').hasClass('nom-special'),
744
		numNomSel = nomHorsListe ? $('#taxon').data('numNomSel') : $('#taxon-liste').val(),
744
		numNomSel = nomHorsListe ? $('#taxon').data('numNomSel') : $('#taxon-liste').val();
745
		nomSel = nomHorsListe ? $('#taxon').val() : $('#taxon-liste option:selected').data('nom-a-sauver'),
745
	var nomSel = nomHorsListe ? $('#taxon').val() : $('#taxon-liste option:selected').data('nom-a-sauver'),
746
		nomRet = nomHorsListe ? $('#taxon').data('nomRet') : this.taxons[numNomSel]['nom_ret'],
746
		nomRet = nomHorsListe ? $('#taxon').data('nomRet') : this.taxons[numNomSel]['nom_ret'],
747
		numNomRet = nomHorsListe ? $('#taxon').data('numNomRet') : this.taxons[numNomSel]['num_nom_ret'],
747
		numNomRet = nomHorsListe ? $('#taxon').data('numNomRet') : this.taxons[numNomSel]['num_nom_ret'],
748
		numTaxon = nomHorsListe ? $('#taxon').data('nt') : this.taxons[numNomSel]['num_taxon'],
748
		numTaxon = nomHorsListe ? $('#taxon').data('nt') : this.taxons[numNomSel]['num_taxon'],
749
		famille = nomHorsListe ? $('#taxon').data('famille') : this.taxons[numNomSel]['famille'],
749
		famille = nomHorsListe ? $('#taxon').data('famille') : this.taxons[numNomSel]['famille'],
750
		referentiel = (numNomSel == undefined) ? '' : this.nomSciReferentiel,
750
		referentiel = (numNomSel == undefined) ? '' : this.nomSciReferentiel,