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

nedjo’s picture

I 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.

Bevan’s picture

I 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.

nedjo’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.