Studio-42/elFinder — Issue #192: getFileCallBack function
Author: johncarlson21
Created: 2012-01-27 03:15:56+00:00
State: open

I'm using TinyMCE and I use elfinder as the file manager, I've used the example in the wiki to get the file manager to work.

I noticed that it is not returning the correct info.

this is the function:
getFileCallback: function(url) { // editor callback
path =url.path;
FileBrowserDialogue.mySubmit(path); // pass selected file path to TinyMCE
}

but the url.path does not contain anything, it is undefined. but if you just use path = url; it returns the correct path.