#27760 closed defect (bug) (fixed)
Quick Draft cannot be saved after a page refresh in Firefox
Reported by: | SergeyBiryukov | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 3.2 |
Component: | Administration | Keywords: | has-patch commit |
Focuses: | javascript, administration | Cc: |
Description (last modified by )
- On dashboard screen, create a Quick Draft and save it.
- Refresh the page.
- The title is empty, the content is populated with the latest draft, and "Save Draft" button is disabled, so you can't create a new draft.
Only happens in Firefox, could not reproduce in Chrome.
Attachments (2)
Change History (15)
#4
@
10 years ago
- Focuses javascript administration added
- Keywords has-patch added
Turns out Firefox holds on to textarea
values on a refresh, but disabling autocomplete fixes that.
I honestly still haven't figured out why the submit button remains disabled, but a quick fix is to brute force it to enabled when quickPressLoad()
fires on page load.
I've only tested this in FF29 on OS X.
This ticket was mentioned in IRC in #wordpress-dev by morganestes. View the logs.
10 years ago
This ticket was mentioned in IRC in #wordpress-dev by DrewAPicture. View the logs.
10 years ago
#12
@
10 years ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 29323:
#13
@
10 years ago
For future reference, while I think it's a little silly that browsers use the autocomplete attribute to not only toggle autocomplete but also whether or not the form holds onto a value when you do a soft refresh, in this case the form displaying a value after you had saved and it had presumably "disappeared" was a bug.
Reproduced on Firefox 28/Mac.