Skip to content

Re-enable submit button after username change failure

What does this MR do?

Fixes issue where the "update username" button remained disabled after an AJAX request was complete.

Are there points in the code the reviewer needs to double check?

I also fixed the .loading-username logic and removed references to .update-success and .update-failed blocks which I could not find any reference to anywhere else. I presume they were removed in an early revision and the frontend logic was just never updated to reflect this.

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #25829 (closed)

Merge request reports