After updating Media (from 7.x-2.0-beta1), users can no longer add media to Fieldable Panel Panes. The Media Browser opens under the FPP overlay and is inactive. We tried version 7.x-2.0-rc2 and 7.x-2.x-dev

CommentFileSizeAuthor
#3 media-2841331-3.patch1.15 KBankurj

Comments

Dorene created an issue. See original summary.

joseph.olstad’s picture

Status: Active » Postponed (maintainer needs more info)

see the installation instructions page for latest recipe.

ankurj’s picture

StatusFileSize
new1.15 KB

I think the issue is appearing for Fieldable Panel Panes when additional items are added. Because when the elements are added via AJAX the existing elements IDs are getting appended by the number. This causes the selector not being able to find a match. I have attached this patch where the selector uses a wildcard search so it will find the match for the elements that are updated via the AJAX call.

joseph.olstad’s picture

Status: Postponed (maintainer needs more info) » Needs review
joseph.olstad’s picture

@Dorene , does this patch help you? (Here's how to apply a patch.).

@ankurj, thanks for the patch.

joseph.olstad’s picture

I sent a private message to @Dorene however she has not yet responded.

Anyone else have success with this patch?

Dorene’s picture

Good morning, and thank you for your very rapid response!

I looked for help from several sources, and was referred to https://www.drupal.org/node/2052927. Although it is several years old, I passed it on to a colleague who made the small change to media.css, and we are back in business!

I very much appreciate the help, and apologize for not updating this thread Friday.

Dorene

Dorene’s picture

Status: Needs review » Closed (duplicate)