Problem is little bit specific, with next scenario.
I fave one views with exposed filters, which uses ajax, and attachment to this views for gmap which inherit this exposed filters arguments. It all works just fine.
But when I open another views, with exposed filters and ajax, through Simple dialog, it will load additional .js files required for this popup to work correctly. After that, first views will not work properly any more, where gmap will show incorrect markers because it inherits wrong arguments from his parent views.
I localized problem in ajax.js which is loaded twice on this page (first on page load and next time through ajax for simple dialog popup), and after that it somehow overwrites views bindings.
Do I need to call some attachBehavior, or maybe to protect first views from overwriting?
I believe that my description of this problem is a little confusing but I will explain it more if needed.
Comments
Comment #1
thekatic commentedFinal solution was in replacing Simple dialog with Iframe popup so that ajax.js will not be called twice on the same page.
Comment #2
thekatic commented