problem with blockTime in unit_tab view

Hi!
I created a unit_tab with two sections and that’s ok.
I define a blockTime to fullday on sunday and saturday and the problems started:

on firefox:

  • the second section has blocked time on friday (see image_1.png).
  • the buttons prev and next above of scheduler didn’t work correctly (for example, today is friday and the next shows only saturday. The same problem ocurred with day_tab view).

on chrome:

Try to use the updated files from the next post
viewtopic.php?f=6&t=19559&start=20

Updated, but with problems

It is possible to reproduce the error on sample 03-extensios/02_unit-view.
Put the dhtmlxscheduler_limit.js (updated) extension and add the code:

for ( var i = 0 ; i < 6 ; i++ ) {
        scheduler.blockTime(i, [12*60,13*60]);
}
	 		    	
scheduler.blockTime(0, "fullday","weekly");
scheduler.blockTime(6, "fullday","weekly");

The error message is showed according as image attached and the scheduler is showed wrong too.




Hello,

The version I am using is the same as yours.
It works correctly for me but please make following changes:

scheduler.blockTime(0, "fullday","weekly"); scheduler.blockTime(6, "fullday","weekly");
should be:

scheduler.blockTime(0, "fullday"); scheduler.blockTime(6, "fullday");
Third parameter is used to define sections for units view.

Kind regards,
Ilya

I updated it and didn’t work.
See at: weev.com.br:8080/quadras/res … s_view.jsp