I'm trying to integrate elFinder with TinyMCE in my Drupal 7 site. Everything seems to work properly with the latest versions of the elfinder module and library (for drupal), for either link creation or image insertion, until a file is selected. At that point, rather than filling out the URL to the file, the string [object Object] is inserted instead.

This has been tested with jQuery versions 1.7 and 1.8 (using the jQuery update module dev version).

CommentFileSizeAuthor
#3 elfinder-tinymce-url-issue-1853354-2.patch796 bytessachand

Comments

merto87’s picture

Same problem. I tried to restore an older version of this module and elfinder library without success.

sachand’s picture

i am also facing same problem . I am trying to resolve it . if get success, i will upload patch here.

sachand’s picture

Assigned: Unassigned » sachand
Status: Active » Patch (to be ported)
StatusFileSize
new796 bytes

As promised , here is the patch . please review/test this patch. it worked for me .

sachand’s picture

Assigned: sachand » Unassigned
Status: Patch (to be ported) » Needs review
merto87’s picture

Perfect, works great!

ph0enix’s picture

Status: Needs review » Fixed

Thank You for patch. Included into dev branch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.