Opened 14 years ago
Closed 14 years ago
#6368 closed enhancement (fixed)
[PATCH] Enter key pressing hanlder for text fields in Credentials dialog
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | usability | Cc: |
Description
People got used to submit credentials forms by pressing enter after they type their name and password.
JOSM does not have this feature at the moment, so every time you login, you have to tab to OK button or press it with mouse.
I’ve made a patch to fix this issue. So now when you press enter after filling username and password, fields, you submit the form. If you just typed your username and pressed enter, password field is getting focused (and vice versa). If current input field is empty (or is just a sequence of spaces), nothing happens.
Basically, it’s a “scratching my own itch” patch as I am getting a bit frustrated every time I mechanically press enter and get noting.
Attachments (3)
Change History (5)
by , 14 years ago
Attachment: | CredentialDialog Enter pressing handler.patch added |
---|
comment:1 by , 14 years ago
Keywords: | usability added |
---|---|
Type: | defect → enhancement |
by , 14 years ago
Attachment: | CredentialDialog Enter pressing handler.2.patch added |
---|
by , 14 years ago
Attachment: | CredentialDialog Enter pressing handler.3.patch added |
---|
Forgot trim() on line 308 :)
small formatting fixes