Opened 8 years ago
Closed 8 years ago
#30871 closed defect (bug) (fixed)
'Log out of all other sessions' button overrides Enter key
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.1.1 | Priority: | normal |
Severity: | normal | Version: | 4.1 |
Component: | Users | Keywords: | has-patch commit fixed-major |
Focuses: | administration | Cc: |
Description
If the Log out of all other sessions
button is showing on the User Profile page, pressing Enter in any form field does not submit the form, instead it logs out the other sessions.
Attachments (1)
Change History (4)
#1
@
8 years ago
- Component changed from Administration to Users
- Focuses administration added
- Keywords has-patch added
- Milestone changed from Awaiting Review to 4.1.1
#2
@
8 years ago
- Keywords commit fixed-major added
jorbin in [31010]:
Set the type attribute of the buttons for logging out of all sessions to buttons
By not setting this attribute, the buttons default to submit and as the first
submit button on the page, it causes pressing the enter key to log you out of
all sessions. This change restores the pre 4.1 behavior where pressing enter
while focused on a form field submits the form.
props ocean90
fixes #30871 for trunk
Note: See
TracTickets for help on using
tickets.
30871.patch sets the type attribute to
button
, default issubmit
.