Hello,
I found this code on your forum, I want to use it.
the problem is that the “scheduler._click.dhx_cal_next_button” does not work with me
i want to add some kind of custom check in botton next and prev by using the function below but it’s not working.
the green part work but the red part don’t work.
I thank you in advance.
schedulre.original_next = scheduler._click.dhx_cal_next_button;
scheduler._click.dhx_cal_next_button = function(){
if (some_custom_check())
scheduler.original_next();
});
scheduler.original_prev = scheduler._click.dhx_cal_prev_button;
scheduler._click.dhx_cal_prev_button = function(){
if (some_custom_check())
scheduler.original_prev();
});