-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Hi there, I was looking for a file picker and uploader and then I came across this FileManager which is awesome so far. But, everything works fine, uploading, thumbnails et cetera, but I assumed clicking on the thumbnail in the File Manager would close the File Manager window and insert the image in the tinyMCE (v4.x) content editor. Nothing happens, is this normal? Or am I doing something wrong.
EDIT: type is set to 1 and file_id not set but in:
if (external=="") {
var target = window_parent.document.getElementsByClassName('mce-img_'+track);
var closed = window_parent.document.getElementsByClassName('mce-filemanager');
$(target).val(base_url+path+file);
$(closed).find('.mce-close').trigger('click');
}
This does not work ->> $(target).val(base_url+path+file);
Cheers!