dear Reader,
I created a small plugin that launches an image editor in a new window. When done it calls window.opener.ckfinder_ref.api.refreshOpenedFolder(); to refresh the current folder.
This works fine when I render CKFinder in the current document using:
But, CKEditor and my own fileselects use CKFinder.popup() to select a file. I'm unable to determine the CKFinder api object from the image editor window that is launched from the ckfinder popup.
I see the popup contains a ckfinder iframe but i cannot seem to access it. I also tried to retrieve the original window using window.opener.opener to no avail.
All help is greatly appreciated!
I created a small plugin that launches an image editor in a new window. When done it calls window.opener.ckfinder_ref.api.refreshOpenedFolder(); to refresh the current folder.
This works fine when I render CKFinder in the current document using:
window.ckfinder_ref = new CKFinder(); window.ckfinder_ref.create();
But, CKEditor and my own fileselects use CKFinder.popup() to select a file. I'm unable to determine the CKFinder api object from the image editor window that is launched from the ckfinder popup.
I see the popup contains a ckfinder iframe but i cannot seem to access it. I also tried to retrieve the original window using window.opener.opener to no avail.
All help is greatly appreciated!