I added y_units after created scheduler and sometimes when clicking on an event appears a Lightbox and error console


#1

Hello,

I added y_units after created scheduler and sometimes when clicking on an event appears a Lightbox with the textbox that has the value of a previously clicked event and this error is showed in the console:

dhtmlxscheduler.js?v=5.3.9:302 Uncaught TypeError: Cannot read property ‘nextSibling’ of null
at Object.g._get_lightbox_section_node (dhtmlxscheduler.js?v=5.3.9:302)
at Object.g._fill_lightbox (dhtmlxscheduler.js?v=5.3.9:301)
at Object.g.showLightbox [as showLightbox_rec] (dhtmlxscheduler.js?v=5.3.9:300)
at Object.e.showLightbox (dhtmlxscheduler_recurring.js?v=5.3.9:38)
at Object.g._on_mouse_up (dhtmlxscheduler.js?v=5.3.9:142)
at Object.g.addEventNow (dhtmlxscheduler.js?v=5.3.9:115)
at Object. (dhtmlxscheduler_timeline.js?v=5.3.9:99)
at Object.z [as ev_oncelldblclick] (dhtmlxscheduler.js?v=5.3.9:43)
at Object.obj.callEvent (dhtmlxscheduler.js?v=5.3.9:42)
at Object.e.dblclick_dhx_matrix_cell (dhtmlxscheduler_timeline.js?v=5.3.9:97)

Thanks.


#2

Hello @Claudia_Belen_Diaz_V,

This issue looks like you are trying to get the value of the element which currently doesn’t exist in the scheduler. Unfortunately, I can’t say what exactly goes wrong without seeing your code.
Could you please reproduce the issue in the following snippet(add required extension in the HTML tab, write code in the CODE tab):
http://snippet.dhtmlx.com/5/106b75208
with the following steps: open the snippet=> reproduce the issue => click the Share button => post here a new link?
Or provide me a simplified demo which I will be able to run locally and reproduce the issue?