|
Rank: Advanced Member Groups: Member
Joined: 11/12/2008 Posts: 42
|
I've found only the Dialog.isMinimized test...
Is there a test to try if the dialog is Visible or Hidden on the client-side?
Tksss.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
There is no direct API to check that now. However you can handle ClientSideOnInitDialog and ClientSideOnEnd to track the visible state of the dialog. The first handler is called before the dialog is displayed; the second is called when the dialog is closed.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 11/12/2008 Posts: 42
|
Tks...
Solved this using the following (simpler) approach:
document.getElementById("Dialog1").style.display
if "", then it's visible, if "none", then, it's hidden..
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Great. This will work too.
Thanks!
|
|