Hi,
Please help me with this question :
How to close the dialog from the parent window ?
Example : I have a page with fckeditor, user click on button on fckeditor toolbar, dialog is opened. Then user click on cancel button on parent window, at this time, I want to close the dialog.
Thank you,
Please help me with this question :
How to close the dialog from the parent window ?
Example : I have a page with fckeditor, user click on button on fckeditor toolbar, dialog is opened. Then user click on cancel button on parent window, at this time, I want to close the dialog.
Thank you,
Re: Close dialog from parent window
No one help
I am still trying to find out a solution...
I had a look at the class source/internals/fckdialog_gecko.js. There is a line of code that call the standard window.open() method
Re: Close dialog from parent window
This problem is solved.
The parentWindow is the FCKeditor Iframe on the actual parent window.
So all I have to do is from the actual parent window, get the iframe document, get the FCKLastDialogOpened variable then call close().
Regards,