我在 ie7 和 ie8 中收到以下错误
SCRIPT5007:无法设置属性“源”的值:对象为 null 或未定义
fullcalendar.min.js?ver=3.1,第 28 行字符 264
完整日历被用作 "eventify" plugin for wordpress 的一部分
当前使用FullCalendar v1.5.1
。
由于 v1.4.7
中出现类似错误,我从 FullCalendar v1.4.7
更新了此内容
有什么想法吗?
--简单说明一下:我从未最终解决这个问题。我放弃了它并继续前进--
最佳答案
我在使用 FullCalendar v1.5.2 时遇到了同样的问题。
确切的错误是(完整日历未缩小):
SCRIPT5007: Unable to set value of the property 'source': object is null or undefined
fullcalendar.js, line 918 character 7
fullcalendar 中的代码是:
for (var i=0; i<events.length; i++) {
events[i].source = source;
...
events.length
返回 75,但其中只有 74 个元素。
我找到了答案here :事件列表的最后一个元素后面有一个逗号。删除它应该可以修复 IE < 9 的问题。
关于jquery - fullCalendar v1.5.1 - ie7 和 ie8 - SCRIPT5007,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5819990/