Calendar on top of dhtmlx windows

I just found out when you open a modal window on a page that is showing a calendar, the calendar stays on top of the window and is still clickable.

Is there a solution? I’m using v.2.1 build 90226

The problem is actually worse than that. Even on a form you can drag the calendar anywhere you want on the form. No matter what kind of object you attach it too. I sure wish there was a solution to this. Once the calendar is moved if you close a panel, the calendar stays on top.

Elliott

hello,

please provide the complete demo to recreate the problem.

Hi,

I’ve resolved the problem. It’s a z-index problem.

In the code the Window container gets a z-index of 48 (?) and the Calendar has a z-index of 100.
In the dhtmlxwindows.js file I searched for the value 50 (with Dreamweaver).
It returned win.zi = 50 and this.zIndexStep = 50. I just changed those values to 250 and it seems to be working.