views:

17

answers:

0

Hello,

I am using CKeditor and I have written a custom filebrowser, which works quite well. At the moment I am trying to modify the image dialog. I want to add a tab, which allows the user to enable prettyPhoto for the image. Therefore I need a button, which calls the filebrowser. I added the filebrowser option to my element, but when I click on the button, nothing happens.

This is my code: http://nopaste.piranho.de/968.6a1f06.html The concerning filebrowser button starts on line 41.

As I looked in the documentation, it seems like the filebrowser plugin searches for all elements with the filebrowser option. But my code is inserted after loading of CKeditor is complete. Therefore I think, the element is not handled by the plugin. Am I right? Then, I would have to call the filebrowser myself. How to do this?

thanks in advance surf2me