dhtmlx timeline addMarkedTimespan bug

Hello guys,

I found something that wasn’t acting the way I was expecting with the DHTMLX timeline. I’m guessing this might be some sort of bug.

I was setting up a timeline view, and then using “addMarkedTimespan()” to add some blocked elements.

This is my definition for the marked timespan:

                        scheduler.addMarkedTimespan({  
                            days:new Date(2011,0,1),
                            zones:[11.5*60,12.5*60],
                            css: "gray_section",
                            type: "dhx_time_block"
                        });

However, I found that there is some sort of way where I can drag into the blocked area. Please kindly see the following video:

beamstyle.com.hk/download/dhtml-timeline-bug.mp4

Would you kindly take a look at this problem for us? We’re considering purchasing the tools for our client project currently, but am stuck with some minor issues like this one we couldn’t get through by ourselves.

I’d like to ask for your kind support on this.

If you hope that we can first purchase the tools to give us quicker response / support, please don’t hesitate to let me know. We just want to get things solved.

Thanks in advance for your kind attention!

Cheers,
Thomas

Hi,
thanks for the problem report, we can confirm the issue. Please replace the “dhtmlxscheduler_limit.js” extension with the file from the package.
dhtmlxscheduler_limit_block_fix.js.zip (8.19 KB)

Hey SergeM,

Thanks for the quick fix on this! You guys are great!

Cheers,
Thomas