My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 685: eventSources ignored if 'array' given
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Nov 2010


Sign in to add a comment
 
Reported by SSJI...@gmail.com, Oct 25, 2010
Calendar created thusly:

		$('#calendar').fullCalendar({
			height: 400,
			editable: true,
			defaultView: 'basicWeek',
			theme: true,
			eventSources: [
				'punch-clock.php?id=1',
				'punch-clock.php?id=2'
			],
			eventClick:
				function(calEvent, jsEvent, view) {

					toggleInOut(calEvent);
				}
		});

The punch-clock.php outputs were validated via jsonlint.org

I see no events appearing on the calendar.  Firebug does not indicate any httpRequest occurring, which I confirmed by looking at my apache log.  

By subsituting a function() as the source, the function DOES get called.

fullcalendar 1.4,8
jquery 1.4.3
jqueryui 1.8.5
Oct 25, 2010
#1 SSJI...@gmail.com
Strange...  Moved all code to my laptop and it works.  Sorry, this was strictly operator error.
Nov 21, 2010
Project Member #2 adamrs...@gmail.com
no problem, glad you got it to work
Status: Done
Sign in to add a comment

Powered by Google Project Hosting