Closed beauwest closed 8 years ago
The same is true of
https://github.com/DHTMLX/scheduler/blob/master/codebase/sources/dhtmlxscheduler.js#L2223
var name = (src.className && src.className ? src.className : "").split(" ")[0];
Hi, the issue is already fixed in dev version, this repository will be updated as soon as we publish next minor or major update. Discussed here https://github.com/DHTMLX/scheduler/issues/19
Great, thank you!
Inside the
dhx_cal_prev_button
anddhx_cal_next_button
buttons, I've implemented custom SVG icons to match our theme. However, SVGclassName
does not have asplit()
javascript method.https://github.com/DHTMLX/scheduler/blob/master/codebase/sources/dhtmlxscheduler.js#L2551
This results in an error when clicking the icons, since the event bubbles up from the SVG as the event source. Adding a simple check to make sure the
split()
method exists would fix this.Thanks!