Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 1429 → Rev 1430

/trunk/widget/modules/cartopoint/squelettes/scripts/carto.js
118,14 → 118,21
titre += ' sur '+(stationNbre+ communeNbre)+' station';
titre += (stationNbre > 1) ? 's' : '' ;
 
if (nt == '*') {
titre += ' parmi '+plteNbreFormate+' plante';
titre += (plteNbre > 1) ? 's' : '' ;
} else {
if (taxonsCarte[0]) {
var taxon = taxonsCarte[0];
titre += ' pour '+taxon.nom;
if($('.taxon-actif .taxon').text() != '') {
var element = $('.taxon-actif .taxon').clone();
element.children().remove();
var taxon = element.text();
titre += ' pour '+taxon;
} else {
if (taxonsCarte[0]) {
var taxon = taxonsCarte[0];
titre += ' pour '+taxon.nom;
}
}
}
859,6 → 866,9
if (nt == '*') {
$('#pl-ouverture').bind('click', afficherPanneauLateral);
$('#pl-fermeture').bind('click', cacherPanneauLateral);
} else {
$('#panneau-lateral').width(0);
$('#carte').width('100%');
}
chargerTaxons(0, 0);
}