Closed (fixed)
Project:
EasyLink
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2007 at 09:00 UTC
Updated:
25 Oct 2007 at 22:21 UTC
Jump to comment: Most recent
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
Comment #1
imrook commentedHey! thanks for catchin' that. The 'sites/all' will also not work for a single site configuration. What about the following line:
Comment #2
Anonymous (not verified) commentedSorry for taking so long to get this in. It's committed in 5.x-1.x-dev as of today.
Comment #3
(not verified) commented