Fix syntax error in user group form and enhance logging in bulk add groups view

This commit is contained in:
Ross
2025-11-12 22:06:09 +00:00
parent 2e551d411a
commit 5cca1b079a
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -673,12 +673,12 @@ class UserUserGroupForm(ModelForm):
// Wire up the "Add all results" button if present
const addAllBtn = results.parentElement.querySelector('.user-add-all-btn');
if (addAllBtn) {
if (addAllBtn) {{
addAllBtn.addEventListener('click', function(e) {{
e.preventDefault();
addAllFromResults(widgetFieldName);
}});
}
}}
window.addUserToField = function(fieldName, id, text, grade) {{
const sel = document.getElementById('id_' + fieldName);