mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-21 23:24:18 +00:00
Keep device users on edit (closes #7)
This commit is contained in:
parent
d5c3386166
commit
efa541b6d2
1 changed files with 2 additions and 2 deletions
|
@ -46,8 +46,8 @@
|
||||||
window.onload = function () {
|
window.onload = function () {
|
||||||
{% for accesso in accessi %}
|
{% for accesso in accessi %}
|
||||||
adduser();
|
adduser();
|
||||||
$("#utente{{ loop.index }} option").prop("selected", false);
|
$("#utente{{ loop.index - 1 }} option").prop("selected", false);
|
||||||
$("#utente{{ loop.index }} option[value={{ accesso.iid }}]").prop("selected", true);
|
$("#utente{{ loop.index - 1 }} option[value={{ accesso.iid }}]").prop("selected", true);
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
};
|
};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue