I have occasionally seen this intermittent javascript error when caching and javascript aggregation are enabled.

CommentFileSizeAuthor
views-ajax.patch1.59 KBmfb

Comments

nedjo’s picture

Status: Needs review » Reviewed & tested by the community

I'm not sure exactly why this error would occur but the solution is correct and ensuring we have the object before iterating through it is good practice in any case.

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

pokadan’s picture

I'm getting it with js aggregation enabled but even without caching(caching mode:disabled). When can we expect the next stable release for Views?
Thanks

merlinofchaos’s picture

Drupal 6.9? That's a core version, it's unrelated to the Views version.

Since the date on my commit note above was January and the last release of Views was in December, it's safe to say this isn't out in a released version yet.

pokadan’s picture

I became aware my mistake and corrected/edited it a while ago. Thanks for the heads up.

jayashreeb’s picture

i am getting the same error (Drupal.Views.Ajax is undefined in drupal)

i am using the view and jquery update 1.3.2.still i am getting the same error
can u plz help ..

Thanks for help

umeshpatil’s picture

Issue summary: View changes

Hi,

I was getting the same error in Drupal 7 and enabling Ajax in views advanced settings solved it.

Thanks!!