Issue 133: "events: string/array" implicitly a jsonarray?
Status:  Done
Owner: ----
Closed:  Oct 2009
Reported by Christia...@gmail.com, Oct 19, 2009
What steps will reproduce the problem?
1. assigning json_calevents  to "events:"

...
events: json_calevents ,
...

It throws an permission denied error in the jquery.js on line 3517
xhr.open(type, s.url, s.async);


I've converted an array to json using the json2.js 
http://json.org/js.html

var json_calevents = JSON.stringify(calevents_array);

thats the content of the jsontext variable:

[{   id:1,title: 'Event',start: 'Mon Oct 5 00:00:00 UTC+0200 2009',allDay: 
true}]


Oct 19, 2009
#1 Christia...@gmail.com
I've solved the problem to do it without json by just pushing the calevents into an 
array and assigning it to events: 

calevents_array.push({ id: list_ID, title: list_title, start: date, allDay: true });

events: calevents_array,


Oct 31, 2009
Project Member #2 adamrs...@gmail.com
right, if you are give it a string, it thinks its a URL (this the permission denied 
error). if you have the event data in the JS, just give fullcalendar the array (don't 
encode it to json)
Status: Done