views:

130

answers:

0

I need suggestions on how to fire the Browse Server button automatically.

My client wants to skip the whole Image Properties dialog and go straight to the file browser/uploader when the image button is clicked and no image is selected. Makes sense to me.

I've figured out how to test for no image selected in the image plug in. But I can figure out how to automatically click the Brower Server button.

There is a lot of information on how to create custom file browser callbacks but I can't seem to find a way to gather the filebrowserBrowseUrl setting from within the plug in.

I've tried (in the plugin.js) var browsa = editor.config.filebrowserBrowseUrl; alert('browsa ' + browsa);

and many other variations. I'm stuck.

Any suggestions gratefully accepted!