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.
Every time I login using my GA code, I need to first put in the password. Then, the gacode field (that's the name of the field in the form) shows up, but I first have to click on it before I can type. This is very annoying, as it would be faster to just start typing right away after hitting the return key after putting in my password.
I wrote a patch, adding the autofocus attribute to the element, so it will get focus after appearing.
I would love it it this would make it officially into the module.
Comment | File | Size | Author |
---|---|---|---|
#4 | 3001474-04.patch | 731 bytes | jhedstrom |
#2 | ga_login_3001474.patch | 567 bytes | colorfulCoder |
Comments
Comment #2
colorfulCoder CreditAttribution: colorfulCoder commentedComment #3
colorfulCoder CreditAttribution: colorfulCoder commentedComment #4
jhedstromHere's a patch for the D8 version too.
Comment #5
jhedstromSince this is run on drupal.org, this would also benefit all the users there who log in with TFA :)
Comment #7
jhedstromTest failed because the testbot tried to apply the 8.x patch to 7.x.
Comment #10
nerdsteinThis is ready for the next release. Again, thank you both
Comment #12
colorfulCoder CreditAttribution: colorfulCoder commentedThank you for testing jhedstrom!
And thanks for including this in the next release so soon nerdstein!
This is the first issue I have every worked on to actually make it to a codebase! :D:D This makes me so happy!
Comment #13
colorfulCoder CreditAttribution: colorfulCoder as a volunteer commentedReopening this issue and moving the version back to 7.x to take into account the original goal of this issue.
Thanks to @jhedstrom for adding the D8 patch.
Will reroll a patch for 7.x later.