2011-09-27 35 views
1

我有一个fullcalendar建立在以下网址:http://www.forumtheatrebillingham.co.uk/show-calendar.htmljQuery的fullcalendar:JSON数据没有在任何浏览器中加载除了FF3

它一直工作正常,但现在出了问题,并通过返回的数据除FF3以外的浏览器中,我的JSON供稿不会显示在日历中。

没有显示javascript错误,并且在控制台中监视ajax请求显示按下next/last month按钮时它们被正确提取。

我无法解释为什么它不工作,任何人都可以提出任何建议吗?

+0

其工作在铬和FF 6.2 – Rafay

回答

1

您的JSON无效。如果通过JSONLint.com运行你的回应,你会看到一个错误上你所有的物体

{ 
    "title" : "", 
    "start" : "2011-10-23", 
    "end" : "1970-01-01", 
    "pagetitle" : "Songs from the Movie Sister Act", 
    "url" : "songs-from-the-movie-sister-act.html", 
    "description" : "Mother Superior and the Sisters give an energetic must-see performance. All the hit songs from the two Sister Act movies are included in this show!", 
    "image" : "/assets/components/phpthumbof/cache/assets_images_shows_Sister Act Artwork.pdf.cdb9fc59e31e0ea8b7440e2a0a1de8e8.jpeg", 
    "dates" : "23rd Oct 2011", 
    "color": "green", 
} , 

由于color是在列表中的最后一个项目,它不应该跟一个逗号。

相关问题