Skip to content

Disable "transfer group" button when no parent group is selected

What does this MR do?

It disables the "Transfer group" button in the settings page of a group when no (new) parent group to transfer to is selected (and "No parent group" isn't selected either) as requested in #64799 (moved).

We have something similar in place for "Transfer project" and I decided to refactor the existing code (app/assets/javascript/project_edit.js) to be more flexible and reusable in an attempt to reduce the need for duplicate code.

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Closes #64799 (moved)

Edited by Jan Beckmann

Merge request reports