mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-22 07:34:19 +00:00
Fix edit device page
This commit is contained in:
parent
f835da82c6
commit
7e729f740f
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@
|
||||||
window.onload = function () {
|
window.onload = function () {
|
||||||
{% for accesso in accessi %}
|
{% for accesso in accessi %}
|
||||||
adduser();
|
adduser();
|
||||||
$("#utente{{ loop.counter }} option").prop("selected", false);
|
$("#utente{{ loop.index }} option").prop("selected", false);
|
||||||
$("#utente{{ loop.counter }} option[value={{ accesso.iid }}]").prop("selected", true);
|
$("#utente{{ loop.index }} option[value={{ accesso.iid }}]").prop("selected", true);
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue