My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 38: Error in IE7
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Jun 2009


Sign in to add a comment
 
Reported by freshman...@gmail.com, Jun 15, 2009
What steps will reproduce the problem?

1.Visit http://www.nawira.com/defaultreal.asp in Internet Explorer

What is the expected output? What do you see instead?
The events are not loading as they do in other browsers and IE7 displays a
javascript error of "date is null or not an object"

What version of the product are you using? On what operating system?
Version 1.2 with jQuery 1.2.6.

Please provide any additional information below.
The error doesn't occur if you simply load the library - only when you
attempt to display a calendar using, for example:

$(document).ready(function(){	
		$('#bxCalendar').fullCalendar({
			draggable: false,
			events: "/inc/data/eventsData.asp",
		loading: function(bool) {
		if (bool) $('#loading').show();
		else $('#loading').hide();
		}
		});
});
Jun 16, 2009
#1 freshman...@gmail.com
Apologies all, it seems that the problem was with my data file.  There was an extra
trailing comma that all other browsers ignored but which tripped up IE7:

Here's an example of what I mean:

[ {"id":1,"title":"2009 Women's
Caribbe","start":"2009-06-21","end":"2009-06-27","url":"http:\/\/www.nawira.com\/events\/2009-women39-s-caribbean-championships"},
{"id":2,"title":"2009 NAWIRA U19
Cham","start":"2009-07-05","end":"2009-07-11","url":"http:\/\/www.nawira.com\/events\/nawira-u19-championship-regional-qualifier"},
] 


The comma before the closing bracket was the culprit.
Jun 16, 2009
Project Member #2 adamrs...@gmail.com
the extra comma in IE error.. lame on IE's part. i've run into that many times. glad
you got it to work
Status: Done
Sign in to add a comment

Powered by Google Project Hosting