removes blocking set by the blockTime() method
instead of it, you can use deleteMarkedTimespan
var spanID = scheduler.addMarkedTimespan({
days: [0,1],
zones: "fullday"
});
scheduler.deleteMarkedTimespan(spanID);
days | any | (Date, number,array, string) days that should be limited |
zones | array | the period in minutes that should be limited. Can be set to 'fullday' value to limit the entire day |
sections | object | allows blocking date(s) just for specific items of specific views. BTW, the specified date(s) will be blocked just in the related view(s) |
var spanId = scheduler.blockTime(new Date(2013,2,5), "fullday");
...
//cancels blocking from 0 till 8 and from 18 till 24 hours for February 5, 2013
scheduler.unblockTime(new Date(2013,2,5), [0,10*60]);
deprecated since v5.1
Back to top