The visible problem was we noticed the 'Insert File' link which send the url back to the link dialogue in TinyMCE was missing.

Error:

data[i].split is not a function
[Break on this error] Failed to load source for: http://.../all/modules/imce/js/imce_set_app.js?Q

My Solution:
Line 23 or ./js/imce_set_app.js needs to be converted to:
var arr = data[i].toString().split('@');
from var arr = data[i].split('@');

Comments

vkersten’s picture

Thanks, but unfortunately, no fix for me - the 'file browser' button in ckeditor is (still) missing in rc2.
Maybe i have to get back to tinyMCE...

More help would really be welcome.

ufku’s picture

How can this be reproduced?

ufku’s picture

Status: Active » Postponed (maintainer needs more info)
ttnt’s picture

I had the same problem, but only in IE. Clicking images or files in the filebrowser opened them in a new window instead of inserting them in the editor. This code resolved this issue and revived my "insert file" button.

Thanks for sharing jerodfritz!

ufku’s picture

Status: Postponed (maintainer needs more info) » Fixed

Not being able to reproduce the bug, I've replaced for(var i in data) with for (var i = 0, len = data.length; i < len; i++) to make sure that only numeric properties are iterated.

Status: Fixed » Closed (fixed)

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