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.
When using ajax (for example, upload file in node edit form) i see following js error:
TypeError: settings.menu_views is undefined
I made a quick research and realized that this occurs because menu_views setting gets away from Drupal.settings array. To avoid this issue I suggest the fix that in attached file.
Comment | File | Size | Author |
---|---|---|---|
menu_views-js-typeerroe-settings-undefined.patch | 539 bytes | Spleshka |
Comments
Comment #1
jlporter CreditAttribution: jlporter commentedHit the same bug, patch applied cleanly and fixed the issue.
Comment #2
SpleshkaAny feedback from maintainers so far?
Comment #4
markhalliwell