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.
While trying to acheive this with jQuery and gmap modules javascript I got "Too much recursion" error. Does the method used in this module handle this elegantly? How?
Comments
Comment #1
nedjoI haven't encountered the error using this module. (The code is adapted from Dynamicload, part of Javascript Tools.)
I wrote this module to accompany a patch I did for Views 6.x. See the call to drupal_alter('ajax_data', ...) in Views head for a sample usage. along with code in ajax_view.js in the views JS directory in Views HEAD.
Comment #2
Bevan CreditAttribution: Bevan commentedI solved the problem I had by loading the possibly required JS in 'hard' markup in the head (not asynchronously) and compressing them with a d5 port of d6's JS compressor. This solution is less than ideal but also not too bad.
Comment #3
nedjoComment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.