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.
Problem/Motivation
Javascript asset is not been loaded property for the media admin form
Proposed resolution
This issue may be depend of the API Form #attached property, but a better approach can be include the required JS/CSS assets to the form using the drupal_add_css and drupal_add_js functions
Comment | File | Size | Author |
---|---|---|---|
#1 | media-fix-js-assets-2468471-1-D7.patch | 824 bytes | andrefy |
Comments
Comment #1
andrefy CreditAttribution: andrefy commentedThe following patch load media administration page assets using drupal_add_js, drupal_add_css instead of attach them to the media admin form
Comment #2
andrefy CreditAttribution: andrefy commentedComment #4
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedClosing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team