Opened 14 years ago
Closed 14 years ago
#22713 closed defect (bug) (fixed)
Media: Hide "Edit" link in the selection view when it doesn't make sense
| Reported by: | nacin | Owned by: | koopersmith |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Media | Version: | 3.5 |
| Severity: | normal | Keywords: | has-patch needs-testing commit |
| Cc: | Focuses: |
Description
Say you are selecting attachments in the media dialog. There is an "Edit" link next to "Clear" and "X selected". It should not always show.
A selection should not be editable when:
- You are creating a gallery, as to edit it, you should actually create the gallery. (For this, we should declare the view as not editable.)
- You have only one item selected. (This should probably happen via CSS.)
Attachments (3)
Change History (11)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
# 3: While editing, there is no need for an Edit link because it doesn't do anything.