Fix resource modal's LDAP-groups autocomplete going empty after first open (#122)

loadLdapGroups()'s cache guard (if (ldapGroupsCache) return;) also skipped
the DOM-repopulation step on every call after the first, but
#ldap-groups-datalist is rebuilt fresh and empty on every app.modal.open()
-- so the "Associated LDAP Groups" tab's group-name autocomplete silently
lost all its suggestions starting on the second Add/Edit. Now the fetch
stays cached, but the datalist is always repopulated.

Verified live: opened the resource modal on Proxy twice in a row, confirmed
the datalist has all 17 options both times (would have been 0 on the
second open with the old code).
This commit is contained in:
2026-07-28 18:35:15 -04:00
committed by GitHub
parent 782ef69fb8
commit b54da5c64c
3 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "t42-sso-manager",
"version": "1.8.0",
"version": "1.8.1",
"description": "A very simple LDAP management and SSO system",
"author": [
{