Opened 12 years ago
Closed 12 years ago
#22714 closed defect (bug) (fixed)
Disable 'Insert gallery' and 'Set featured image' if nothing is queued
Reported by: | nacin | Owned by: | koopersmith |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | minor | Version: | 3.5 |
Component: | Media | Keywords: | has-patch needs-testing commit |
Focuses: | Cc: |
Description
- If you remove all images from a gallery, the "Insert gallery" button should be grayed out, forcing you to add more images or cancel it. Otherwise you end up with [gallery ids=""].
- You can click "Set featured image" without having selected a featured image. Again, the button should be grayed out. It closes the modal and fires an unnecessary but not damaging ajax request to delete the featured image. (The XHR returns as unsuccessful as there was nothing to delete.)
Attachments (2)
Change History (11)
#4
@
12 years ago
Looks good. Tested gallery, featured image, custom header, custom background, and some free form.
#7
@
12 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Update toolbars for Embed screen. Fixes JS error.
Note: See
TracTickets for help on using
tickets.
Patch fixes all button-state issues.
It also: