I'd been running into issues with views ajax in both exposed filters and in the admin views UI itself. I was getting the error "an error has occurred while trying to process /.../views/.../.../ajax" The error was preventing any ajax to be executed correctly. The source of the error would be different in different conditions, but all led back to the ajax. I then went searching for any conflicting js, disabled all my own custom js and all other responsive theme js. Finally, when I disabled AIS, the errors went away. This was only happening in IE.

Has anyone else experienced this? I see there are other issues related to ajax in the bugs, but none address any conflict with views and ajax.

My set up:
Drupal 7.21
Latest Views 3
Latest Ctools

Comments

spotzero’s picture

This looks like this issue https://drupal.org/node/2015207, however the solution wasn't found.

The javascript in AIS implements Array.filter for older browsers that don't have support for it. This, when mixed with the ctools ajax stuff seems to cause an error in old versions of IE.

Leeteq’s picture

So is this issue also only limited to the same old IE versions as mentioned in #2015207: JavaScript error in IE 7 + 8 ?

spotzero’s picture

Its seems limited to IE 7-8 when both Views Ajax and AIS are enabled. My suspicion is that ctools and ais both attempt to provide implementations of Javascript Array.map (which doesn't exist in IE 7+8) and the implementations are some how colliding.