setSensitive still allows me to select date in future

Hi support,



I have an issue with the set sensitive method call of a calendar attached to a textbox. All though the range is greyed out, I can still select a date in the greyed out section.



Furthermore, I have attached events to the text box that is attached to the caledar but they do not seem to fire. When I take the calendar off, the events then do fire, any ideas?



Below is sample code for cal init:



Cheers



Scott



//Instantiate calendar controls

var max = new Date();

var min = new Date(“01/01/2000”);

window.dhx_globalImgPath=“…/…/imgs/”;

var cal = new dhtmlxCalendarObject(“dtFrom”,true);

cal.setSkin(“dhx_blue”);

cal.setDateFormat(“%d/%m/%Y”);

cal.setSensitive(min, max);

cal.draw();


Hello,


the issue wasn’t reproduced with the latest calendar version. Please, see attached sample


1248087545.zip (84.7 KB)

I’m using the compressed suitefile dhtmlx.js and not the individual js files.

In this case please place dhtmlxcalendar.js from the attached sample to the dhtmlxCalendar/codebase/ to genarate new dhtmlx.js