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.
from comment: https://www.drupal.org/node/2034051#comment-8136969
Looks like something is breaking load sequence. In my situation (invalid comments #6 and #7) the reason was REL module, which simply did drupal_add_js('misc/ajax.js'); and this was breaking weight of already prepared ajax.js library.
Can ajax.js be loaded conditionally?
Comments
Comment #1
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedshould it be changed to drupal_add_library like in this issue:
https://www.drupal.org/node/2034051
replace
Comment #2
sinasalek CreditAttribution: sinasalek commentedThere is another issue but it's not resolved completely #1532566: AJAX should be loaded as library to prevent conflicts with other modules