Client rendering not working in IE 8
-
29-09-2020 - |
質問
I have a SharePoint 2013 SP1. I have one app fields on the form. This field uses the client rendering. For all browsers except IE 8, everything works correctly. IE 8 is supported (http://technet.microsoft.com/en-us/library/cc263526(v=office.15).aspx), but happening here strange things.
- For all mandatory fields not generated input
- For all non-text field (number, url, ...) is not generated input
- When saving a item, then is generated js error in clientforms.js
Print screens:
Any suggestions? Does somone know whether MS announced patch dealing with this issues?
解決
This code was a problem, SP scripts in IE 8 is not working correctly, because:
if (!Array.prototype.indexOf) {
Array.prototype.indexOf = function(obj, start) {
for (var i = (start || 0), j = this.length; i < j; i++) {
if (this[i] === obj) { return i; }
}
return -1;
}
}
I solved otherwise, without the use of Array.prototype
.
所属していません sharepoint.stackexchange