views:

5

answers:

0

Hi all,

I'm creating a custom file browser for CKEditor. In the popup window that CKEditor launches, the user can select a file... at which time the following code is run:

window.opener.CKEDITOR.tools.callFunction( funcNum, url );

This works great when the user stays on the same page that was originally launched by the CKEditor. The problem is that the custom file browser has a way for the user to navigate from page-to-page (inside the popup) in order to look for their file.

When the page in the popup changes, the above line of code does nothing. It doesn't even throw an error.

How can I run the callFunction on the CKEDITOR object even after the user has browsed around in the popup?