我使用jqGrid 4.13.0,它似乎导致使用IE8时出错。错误在jquery.fmatter
模块中进行了本地化。jqGrid 4.13.0错误与IE8 Object.create
该YesObject
和NoObject
使用Object.create
它不是IE8兼容。任何想法的解决方法?非常感谢。
var fmatter = $.fmatter,
getOptionByName = function (colModel, name) {
...
},
parseCheckboxOptions = function (options) {
...
},
YesObject = Object.create(null, {
1: { value: 1 },
x: { value: 1 },
"true": { value: 1 },
yes: { value: 1 },
on: { value: 1 }
}),
NoObject = Object.create(null, {
0: { value: 1 },
"false": { value: 1 },
no: { value: 1 },
off: { value: 1 }
});
你是否需要支持ie8?有没有很多网格功能支持ie8了... – erichardson30
我确实想支持IE8,但我没有任何计算机与IE8进行测试。我会将修复发布到GitHub上,并会要求您进行测试。 – Oleg