Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I needed this to insert items into the media browser through AJAX. The anonymous function just needs to be pulled out and given a proper name.
Patch forthcoming.
Comment | File | Size | Author |
---|---|---|---|
#1 | media.1947078-browser_click_handler.patch | 5.81 KB | MPetrovic |
Comments
Comment #1
MPetrovic CreditAttribution: MPetrovic commentedPatch
Comment #2
MPetrovic CreditAttribution: MPetrovic commentedComment #3
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 6 year old patch in #1 does not apply to the latest media 7.x-2.x-dev and if still relevant needs to be rerolled
Comment #4
joseph.olstadfeel free to submit a rerolled patch and I will consider re-openning if you need this and want it reviewed