jas - 2009-12-04

Ok I am fairly certain it is a header problem that is scewing the callback function within tiny_mce for my integration of your plug-in.

Here is some information:
The demo included works out of the box.

However if I utilize your javascript functionality within a .tpl file the "browse to file" function from the tiny_mce interface returns a strange naming convention causing a syntax error of the following:

*missing ) in parenthitical
typeof(tinyMCEPopup.windowOpener.function MadFileBrowser(field_name, url, type, win) {*

And when you hover over the "browse" button the link shows:

*javascript:openBrowser('srcbrowser','src','image','advimage_browser_callback');*

In your demo (which works) included the same thing shows as

*javascript:openBrowser('srcbrowser','src','image','them_advanced_image_image_browser');*

Any direction you could give me on getting this resolved would help me out. Thanks.