#31684 closed defect (bug) (fixed)
media.view.Settings.Gallery.extend doesn't work anymore
| Reported by: | bduclos | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Media | Version: | 4.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | javascript |
Description
I use the code below to add custom parameters to galleries. (Jetpack do the same to add a type parameter). Since Trunk split the javascript files into modules, it doesn't work anymore.
media.view.Settings.Gallery = media.view.Settings.Gallery.extend({})
Attachments (1)
Change History (8)
This ticket was mentioned in Slack in #core by drew. View the logs.
11 years ago
This ticket was mentioned in Slack in #core by drew. View the logs.
11 years ago
#3
@
11 years ago
- Keywords dev-feedback added
- Milestone Awaiting Review → 4.2
- Owner set to
- Priority normal → high
- Status new → assigned
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
See also comment:34:ticket:28510.
@wonderboymusic: Could I get you to follow up here please? Looks like there are a couple of reports of issues following the JS modularization in #28510.