Skip to content

Conversation

@Xeelee33
Copy link
Contributor

The functions in manage_groups.js are no longer global functions in the new version, so the actions fail in the manage group screen.

Trying to select a user after search results in this error where the fields do not populate (note, this works properly in public workspaces because those functions are still global functions).
image

Additionally, the Remove button does nothing when clicked, and attempting to update a member role also throws an error. The request approval/rejection workflow also needed to be fixed.

I updated the group member select code to more closely match the code in manage_public_workspace.js for consistency and moved the inline onclick handlers for the select-user-btn, remove-member-btn, change-role-btn, approve-request-btn, and reject-request-btn to event delegation blocks in the $(document).ready function.

After pushing this change, the updated buttons and functions work as expected.

…l, group member role update, and approve/reject request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant