2011-09-27 33 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是在列表中的最後一個項目,它不應該跟一個逗號。

相關問題