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.

CommentFileSizeAuthor
user.module_19.diff653 bytesdrewish
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Crell’s picture

Status: Active » Reviewed & tested by the community

Very true! Patch looks good to me. It changes exactly one character, about as small as you can get. :-) +1 here.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)