From f835da82c6fe005dbc8c64096f25e91162755c62 Mon Sep 17 00:00:00 2001 From: Stefano Date: Thu, 14 Sep 2017 15:16:56 +0200 Subject: [PATCH] Fix edit device page --- templates/dispositivo/show.htm | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/dispositivo/show.htm b/templates/dispositivo/show.htm index bcbcb2f..d58b4f8 100644 --- a/templates/dispositivo/show.htm +++ b/templates/dispositivo/show.htm @@ -28,6 +28,7 @@ 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); {% endfor %} }