30,6 → 30,14 |
$('#nom').attr("placeholder", ""); |
} |
} |
|
function mettreEnValeurReferentielSelectionne(bouton) { |
$(".selection-referentiel").removeAttr("disabled"); |
$(".selection-referentiel").removeClass("referentiel-selectionne"); |
bouton.attr("disabled","disabled"); |
bouton.addClass("referentiel-selectionne"); |
gererVisibiliteSelecteurNom(); |
} |
|
function initialiser() { |
$.getScript("<?= $efloreScriptUrl; ?>").done(function(script, textStatus) { |
37,11 → 45,9 |
// elle utilise les variable définies ci dessus, et elle est donc chargée après. |
initialiserMoteur(); |
$(".selection-referentiel").click(function () { |
$(".selection-referentiel").removeAttr("disabled"); |
$(this).attr("disabled","disabled"); |
gererVisibiliteSelecteurNom(); |
mettreEnValeurReferentielSelectionne($(this)); |
}); |
gererVisibiliteSelecteurNom(); |
mettreEnValeurReferentielSelectionne($($(".selection-referentiel")[0])); |
}); |
} |
|