I have a page where muliltple DHTMLXWindows are created against clicking links. There is also a session timeout warning popup that comes out if user has made no activity and session is about to expire in few minutes.
When timeout popup displayed i need to make all other popups inactive. I tried the tip given in documentation as:
dhxWins._makeActive(null);
But it doesn’t work. I do have references to all opended windows through global dhXwins variable. In forEachWindow loop i can get handler to each window but is there any method to make window inactive.
To elaborate i need to keep my session timeout warning popup on top always. There is no event like onBlur that i can capture and foucs again on session timeout window. Any other workarround please?
By inactive i mean user should not able to perform any action on window.
First this doesn’t work. For example i can still drag a popup and enter values in text fields displayed in window. So it is not making popup windows inactive.
Second i need to inactivate all windows but session timout window. So looping through ForEachWindow and calling inactve() kind of solution is more appropirate.