Opened 12 years ago
Closed 11 years ago
#30345 closed defect (bug) (fixed)
Quick edit: form submitted when activating Cancel via keyboard
| Reported by: | afercia | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Quick/Bulk Edit | Version: | 4.0 |
| Severity: | normal | Keywords: | has-patch dev-feedback |
| Cc: | Focuses: | ui, accessibility, javascript |
Description
Post listings > any post > Quick Edit
- edit any field (change the title, add a category, whatever)
- focus the "Cancel" link with your keyboard
- press Enter
You would expect to "Cancel" your changes, but you've just saved them instead.
There's a keydown event listening on the whole td containing the form elements, not sure it's a good thing. I can understand this was meant to speed up editing, however we should exclude at least the "Cancel" link.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 31274: