I encountered problems in IE8 with the AJAX settings enabled on a view.
The settings seemed to be ignored (whereas it was working fine in other browsers).
Turned out that the class ".views-processed" was not added to the view.

After a few debugging, i found that the problem is coming from this part of the ajax_view file (line 44):

 $(view).filter(':not(.views-processed)')
        // Don't attach to nested views. Doing so would attach multiple behaviors
        // to a given element.
        .filter(function() {
          // If there is at least one parent with a view class, this view
          // is nested (e.g., an attachment). Bail.
          return !$(this).parents('.view').size();
        })
        .each(function() {....

The !$(this).parents('.view').size(); condition return false on IE8, because the size() property is not available.

I just remove the filter to solve the problem (I dont use nested views), but I guess it would be better to change the condition so that it works both in IE and other browser.

Comments

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

We refactored this javascript file from scratch, which produced a much nicer code.
Parallel from this the posted code from above code uses once() in a way that it should not cause problems anymore. Can you please try to verify it with the current version of views?

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)