Opened 14 years ago
Closed 14 years ago
#22714 closed defect (bug) (fixed)
Disable 'Insert gallery' and 'Set featured image' if nothing is queued
| Reported by: | nacin | Owned by: | koopersmith |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Media | Version: | 3.5 |
| Severity: | minor | Keywords: | has-patch needs-testing commit |
| Cc: | Focuses: |
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
@
14 years ago
Looks good. Tested gallery, featured image, custom header, custom background, and some free form.
#7
@
14 years ago
- Resolution fixed
- Status closed → reopened
Update toolbars for Embed screen. Fixes JS error.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch fixes all button-state issues.
It also: