Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#23675 closed defect (bug) (fixed)

Media modal should clear gallery state after insertion

Reported by: koopersmith Owned by: koopersmith
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Media Keywords:
Focuses: Cc:


This one snuck by us in 3.5 — after inserting a gallery, when the media modal is reopened, it remains on the edit screen and the gallery items are still selected. Since they've already been inserted, this UX is less than ideal. Let's fix that.

Change History (2)

#1 @koopersmith
9 years ago

  • Owner set to koopersmith
  • Status changed from new to accepted

#2 @koopersmith
9 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 23590:

Media: Reset modal after gallery insertion.

Removes hardcoded (and vestigial) 'upload' states in favor of using the default modal state.
When a media toolbar action is triggered, reset the modal after switching to the new state (as opposed to beforehand).

fixes #23675.

Note: See TracTickets for help on using tickets.