unit view -> addMarkedTimeSpan doesn't work

HI all,
I’m in trouble with blocking the possibility to book an appointment in case of multi resources (units).

here the demo I have created: docs.dhtmlx.com/scheduler/snippet/364f4637

At line 34 there is the command to create the marked time span. As you can see in the calendar the time 08.00-11.00 is not blocked.
If you remove the [sections] (lines 38-40) all calendar is blocked between 08-11.

The same beahviour using the function blockTime().

What I’m doing wrong?


Please change the word ‘unit’ to ‘Resource’. You have custom name for the view, so you have this problem.

sections: { Risorse: [2,3] }
Example docs.dhtmlx.com/scheduler/snippet/e49b5c72

Damn, I was pretty sure to have tried… Thank you!