Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The weights of the submit and delete buttons are identical. This ends up putting the delete button before the submit button. It's pretty annoying because it becomes the default action so if you edit the username then press enter you're asked to confirm the deletion of the user.
I've attached a patch to increment the weight of the delete button to be greater than the submit button.
Comment | File | Size | Author |
---|---|---|---|
user.module_19.diff | 653 bytes | drewish | |
Comments
Comment #1
Crell CreditAttribution: Crell commentedVery true! Patch looks good to me. It changes exactly one character, about as small as you can get. :-) +1 here.
Comment #2
Dries CreditAttribution: Dries commentedCommitted to HEAD. Thanks.
Comment #3
(not verified) CreditAttribution: commented