Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.0-rc1
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Jul 2011 at 11:12 UTC
Updated:
4 Jan 2014 at 01:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
temaruk commentedThe response.data contains a space character at the end.
Taken from misc/ajax.js:
So with the space character at the end, new_content_wrapped will contain:
And because of this new_content_wrapped.contents() will have a length of 2, as it will contain a TextNode besides the top level ElementNode. The problem is in views-view.tpl.php:
Comment #2
temaruk commentedComment #3
vgulla commentedI am not sure if this is related. Here is my issue:
I hope someone can help me with this. I have spent too many hrs trying to find the issue. I have a view with exposed filters. I enabled Ajax on the block mode and included it on a page.
The block renders fine first time, but when I set some of the filters of the filters and click on search button, it seems as though the view gets rendered multiple times on the left and right column and totally messes up the page. Attached is a screenshot of what it looks like. See how the view is re-rendered on the right column
How can I fix this
-vasantha
Comment #4
dawehnerPatch seems to make sense. So commited to 7.x-3.x
@vgulla
Posting on every issue witch has a similar title doesn't help :)
Comment #5
vgulla commentedSorry for posting on multple ones. I was getting desperate and was not sure which one would be responded to. BTW, this patch http://drupal.org/files/issues/981870-safe-dom-id.patch worked for me.