Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 1430 → Rev 1429

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