Get absolute path on editorCallback?

Added by Steven Applegate 9 months ago

I'm trying to create an alert of the file selected on the editor callback. Here's my code snippet:

editorCallback : function(url) { alert(url); }

This works, I get an alert box with the url, but it's a relative path: "/Files/images/myimage.png".

I'd like for it to be an absolute path, like: "http://www.mysite.com/Files/images/myimage.png".

Is there a way to do that?


Replies (1)

RE: Get absolute path on editorCallback? - Added by Troex Nevelin 9 months ago

I your URL option in connector set correctly?

(1-1/1)