Line 107 of the editor_plugin.js file appears to be assuming that the TinyMCE module is installed in the modules directory, and not as we have in the sites/all/modules directory. For us this isn't a problem as we have clean URLs enabled, hence the resulting URL http://example.com/sites/all/index.php?q=easylink/load gets rewritten. However, for users who don't have clean URLs installed, this could well be a problem. Adding the following below line 107 should fix this.

base_url = base_url.substring(0, base_url.indexOf('sites/all'));

Comments

imrook’s picture

Hey! thanks for catchin' that. The 'sites/all' will also not work for a single site configuration. What about the following line:

base_url = base_url.substring(0, base_url.indexOf('sites/'));
Anonymous’s picture

Status: Active » Fixed

Sorry for taking so long to get this in. It's committed in 5.x-1.x-dev as of today.

Anonymous’s picture

Status: Fixed » Closed (fixed)