I have View Infinite Scroll working on my site but when I test in IE 7 I get pop up saying "Autopager jquery plugin in not loaded." It works on IE8, IE9, IE10, FF, Chrome, Safari.

I checked this file on Line 21 but all it is referring to is a "};" so not sure what the issues is here is the beginning code of that function:

(function($) {
	var window = this, options = {},
		content, currentUrl, nextUrl,
		active = false,
		defaults = {
			autoLoad: true,
			page: 1,
			content: '.content',
			link: 'a[rel=next]',
			insertBefore: null, 
			appendTo: null, 
			start: function() {},
			load: function() {},
			disabled: false,
		};  //THIS IS LINE 21

Here is the error details:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
Timestamp: Mon, 24 Mar 2014 16:16:11 UTC

Message: Expected identifier, string or number
Line: 21
Char: 3
Code: 0
URI: http://dev.conversantmedia.com.vclk.net/sites/all/modules/views_infinite...

If anyone can assist me with this error, I would be most appreciative.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cabplan’s picture

Priority: Normal » Critical
Sam152’s picture

Status: Active » Closed (won't fix)

IE7 does not like the trailing comma on the last line. This is a bug with the jquery module so it should be reported on that project if IE7 is supported at all.