First of all thanks for this nice module - it saved me from a lot of work.

I'm currently working on a page where I have 4 views that are updated automatically via Ajax. Each view is updated individually so this means that in the settings array from the server we will have the settings only for that current view.
Basically this would overwrite my Drupal.settings.views.ajaxViews with the setting of 1 view.

To stop this from happening we can just pass 'true' as a first argument to $.extend and jQuery is nice enough to do a deep copy :-)

Patch attached.

CommentFileSizeAuthor
deep_copy.patch597 bytesandreiashu
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

markus_petrux’s picture

Status: Active » Fixed

Good point, and sorry for the delay. Committed to CVS. Thank you!

http://drupal.org/cvs?commit=458488

Status: Fixed » Closed (fixed)

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