Closed (fixed)
Project:
Ajax Load
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Oct 2010 at 00:24 UTC
Updated:
16 Dec 2010 at 20:20 UTC
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 commentedGood point, and sorry for the delay. Committed to CVS. Thank you!
http://drupal.org/cvs?commit=458488