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.
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.
Comment | File | Size | Author |
---|---|---|---|
deep_copy.patch | 597 bytes | andreiashu |
Comments
Comment #1
markus_petrux CreditAttribution: markus_petrux commentedGood point, and sorry for the delay. Committed to CVS. Thank you!
http://drupal.org/cvs?commit=458488