Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#42143 closed defect (bug) (fixed)

Customizer save button does not get enabled after restoring the autosave for draft and future

Reported by: sayedwp Owned by: westonruter
Priority: normal Milestone: 4.9
Component: Customize Version: 4.9
Severity: normal Keywords: has-patch
Cc: Focuses: ui, javascript

Description

If auto-save revision is loaded by the user after clicking the “Restore the autosave” link, the save button does not get enabled, currently it's only getting enabled when the status is ‘’;

Related Ticket: #39896

Attachments (1)

42143.diff​ (642 bytes ) - added by sayedwp 9 years ago.

Download all attachments as: .zip

Change History (3)

#1 @westonruter
9 years ago

  • Keywords has-patch added
  • Milestone Awaiting Review → 4.9
  • Owner set to westonruter
  • Status new → accepted

#2 @westonruter
9 years ago

  • Resolution → fixed
  • Status accepted → closed

In 41826:

Customize: Make sure saved state is initially false when restoring autosave revision so that Save button will be enabled.

Amends [41597].
Props sayedwp.
See #39896.
Fixes #42143.

Note: See TracTickets for help on using tickets.