1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-21 23:24:18 +00:00

Fix edit device page

This commit is contained in:
Steffo 2017-09-14 15:20:09 +02:00
parent f835da82c6
commit 7e729f740f

View file

@ -28,8 +28,8 @@
window.onload = function () {
{% for accesso in accessi %}
adduser();
$("#utente{{ loop.counter }} option").prop("selected", false);
$("#utente{{ loop.counter }} option[value={{ accesso.iid }}]").prop("selected", true);
$("#utente{{ loop.index }} option").prop("selected", false);
$("#utente{{ loop.index }} option[value={{ accesso.iid }}]").prop("selected", true);
{% endfor %}
}
</script>