Toolbar input button open dhtmlxCalendar

I’ve some trouble with an input button in my toolbar. In My form I’ve a tree with some items, a toolbar with an input button which permit to search in the tree and I’ve also an input date with a dhtmlx calendar attached to.
When I try to search in my toolbar input button (press key enter), the search in my tree works fine but open in the same time the dhtmlxCalendar in the other input button date.

How can I modify the dhtmlxcalendar.js to stop open the calendar on event enter ?


Could you attach completed demo to test it on your sample? … leted_demo