247,6 → 247,12 |
// sur les panneaux qui ne sont pas encore chargés, on doit attendre la fin |
// du chargement pour mettre à jour l'url (à cause de la récupération de l'id sur les enfants) |
var ongletNomCode = ui.panel.children(".onglet_contenu").attr("id"); |
// stats |
if (prod) { |
var ga_json = '{"nn": "' + ga_current_nn + '", "nom_sci": "' + ga_current_ns + '"}'; |
ga('eFloreTracker.send', 'event', 'fiche', 'consultation-' + ongletNomCode, ga_json, 1); |
} |
|
$(".lien_retour_synthese").toggle((ongletNomCode != "synthese")); |
mettreAJourUrl(permalienNumNom+"-"+ongletNomCode, ongletNomCode); |
$(document).trigger('dictionnaireRechercherDefinitions', '#'+ongletNomCode); |