Closed sasynkam closed 9 years ago
createStyleSheet is also used when we lazy download the component resources if not available yet. Please also assign it to me if you fixed the problem in the timeline.
Reported here https://github.com/almende/chap-links-library/issues/336
The autor of the native plugin gave us a tip. This is not the problem of Timeline. Please look into this https://github.com/almende/chap-links-library/issues/336 Thomas, you can do the same.
@sasynkam Can you conform please, you use excanvas.js?
Hi, we don't use excanvas.js
Timeline doesn't use createStyleSheet too. Are you sure the error is raised by Timeline and not by core.js or from somewhere else?
Not, but it looks like that: http://postimg.org/image/3zxfeekq1 Moreover timeline in PrimeFaces Extensions Showcase works.
It is not Timeline related. It is somewhere in core.js. Assigned to Thomas. Probably a fix in PF is also nessesary. Thomas, can you add something like?
if (typeof document.createStyleSheet === 'undefined') {
document.createStyleSheet = function () {
return document.createElement('script');
}
}
IE 11 throws: SCRIPT438: Object doesn't support property or method 'createStyleSheet' File: primefaces-extensions.js.xhtml, Line: 217, Column: 10
when I want to show timeline. In "emulation mode" or older versions of IE it works.
IE 11.0.9600.17498, PrimeFaces: 5.1.6, PrimeFaces Extensions: 3.0.0, JSF: mojarra 2.1.27, Server: TomEE 1.5.2