cache codes INE/NIP dans bulletin scodoc

This commit is contained in:
Emmanuel Viennet 2021-12-21 15:10:49 +01:00
parent 5e31d3372a
commit ce2ae9340c

View File

@ -9,7 +9,7 @@
<releve-but></releve-but>
<script src="/ScoDoc/static/js/releve-but.js"></script>
<script>
let dataSrc = "{{bul_url|safe}}";
let dataSrc = "{{bul_url|safe}}";
fetch(dataSrc)
.then(r => { return r.json() })
.then(json => {
@ -22,10 +22,9 @@
.dateInscription,
.numerosEtudiant,
.dateNaissance{
/*display: none;*/
display: none;
}`;
releve.shadowRoot.appendChild(style);
})
</script>
{% endblock %}