We have a timer event that asks to extend the session using a radconfirm dialog. However, it's possible that some other event may have caused a radconfirm to be currently displayed. We've had difficulty getting the two to not overlap (e.g. the title bar message gets changed for the wrong one, content gets mixed). So, the approach we are currently trying to pursue is to force a close of the previously displayed dialog before displaying the next one.
It would be nice if radconfirm returned a handle to the dialog then all we would need to do is:
var dlg=radconfirm(...);
....
dlg.close();
But, no such luck. Is there some jScript selector we can use to get the dialog?
More detail:
The basic html layout we are using is:
Where just before the call to radconfirm we set the display to the appropriate dialog.
It would be nice if radconfirm returned a handle to the dialog then all we would need to do is:
var dlg=radconfirm(...);
....
dlg.close();
But, no such luck. Is there some jScript selector we can use to get the dialog?
More detail:
The basic html layout we are using is:
<ConfirmTemplate> <div id="dlg1" style="display:none"> Dialog content </div>
<div id="dlg2" style="display:none"> Dialog content </div></ConfirmTemplate>
Where just before the call to radconfirm we set the display to the appropriate dialog.