From 51525fca0cb42813cb23e59a802fd22f131c2d2d Mon Sep 17 00:00:00 2001 From: Acors24 <329827@uwr.edu.pl> Date: Mon, 23 Dec 2024 12:55:57 +0100 Subject: [PATCH] =?UTF-8?q?dodano=20komentarze=20i=20poprawiono=20cz=C4=99?= =?UTF-8?q?=C5=9Bci=20kodu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zapisy/apps/theses/assets/student-filter.js | 48 +++++++++++++++------ 1 file changed, 35 insertions(+), 13 deletions(-) diff --git a/zapisy/apps/theses/assets/student-filter.js b/zapisy/apps/theses/assets/student-filter.js index 885153969f..18f9235d4b 100644 --- a/zapisy/apps/theses/assets/student-filter.js +++ b/zapisy/apps/theses/assets/student-filter.js @@ -1,7 +1,10 @@ import { debounce } from "lodash"; +// Django's , based on the internal list + */ function updateDjangoField() { djangoField.innerHTML = ""; djangoField.append(...assignedStudents.map(createSelectOption)); } +/** + * Create an item for the hidden django djangoField.style.display = "none";