#14312 closed defect (bug) (fixed)
Pressing Enter in the Add New Category textbox on the New Post page cases the post to be published
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Editor | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch gsoc needs-testing |
| Cc: | wojtek.szkutnik@… |
Description
Using the textbox in the post editor window to add a new category, after typing in the category name I pressed "Enter", assuming that would activate the "Add" button to add the category. Instead, it activated the "Publish" button.
This could cause users to prematurely publish posts (it did to me).
Attachments (2)
Change History (11)
comment:1
Viper007Bond — 3 years ago
- Keywords needs-patch added
wojtek.szkutnik — 3 years ago
comment:2
follow-up:
↓ 3
wojtek.szkutnik — 3 years ago
- Cc wojtek.szkutnik@… added
- Keywords has-patch gsoc needs-testing added; needs-patch removed
comment:3
in reply to:
↑ 2
Viper007Bond — 3 years ago
Replying to wojtek.szkutnik:
Here you go
Wouldn't it be better to do this in one of the existing Javascript files? Seems... inelegant to do it inline.
wojtek.szkutnik — 3 years ago
comment:4
wojtek.szkutnik — 3 years ago
Indeed, the second one looks better. Press This uses inline javascript for such things, but clearly the second option is better.
- Keywords 3.2-early added
- Milestone changed from Awaiting Review to Future Release
Ran across this bug a few minutes ago.
- Keywords 3.2-early removed
- Milestone changed from Future Release to 3.5
Just hit this bug.
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed
In [21970]:
comment:9
SergeyBiryukov — 5 months ago
#15809 was marked as a duplicate.

Here you go