279,12 → 279,12 |
/**------------ Fonctions de détection de l'état du formulaire ------------------*/ |
function nomSciEstDemande() { |
var boutonRadioNomSci = $('#type_nom_scientifique'); |
return (boutonRadioNomSci.attr("checked") != "undefined" && boutonRadioNomSci.attr("checked") == "checked"); |
return (($('#type_nom_vernaculaire').length <= 0) || (boutonRadioNomSci != null && boutonRadioNomSci.attr("checked") != "undefined" && boutonRadioNomSci.attr("checked") == "checked")); |
} |
|
function nomVernaculaireEstDemande() { |
var boutonRadioNomSci = $('#type_nom_vernaculaire'); |
return (boutonRadioNomSci.attr("checked") != "undefined" && boutonRadioNomSci.attr("checked") == "checked"); |
return (boutonRadioNomSci.length > 0 && boutonRadioNomSci.attr("checked") != "undefined" && boutonRadioNomSci.attr("checked") == "checked"); |
} |
|
/**------------ Fonctions de gestion de l'affichage des valeurs par defaut ----------------------*/ |