Opened 9 years ago

Closed 9 years ago

#2241 closed Bug (fixed)

Floating panels don't respect BasePath property

Reported by: aaron Owned by: martinkou
Priority: Must have (possibly next milestone) Milestone: FCKeditor 2.6.1
Component: UI : Floating Panel Version: FCKeditor 2.6
Keywords: Confirmed Review+ Cc:


My editor is located at, but the editor itself is called from a different subdomain, namely I'm calling the editor via the following code:

<script type="text/javascript" src=""></script>
<script type="text/javascript">
document.domain = '';
window.onload = function()
	var oFCKeditor = new FCKeditor('body');
	oFCKeditor.BasePath = '';
	oFCKeditor.ToolbarSet = 'Admin';

This works, except for the floating panels being called from instead of, which results in a 404 error document.

My conclusion would be the floating panels don't respect the BasePath correctly, but it's might be something different. In any case, it's obviously a bug, right?

Attachments (1)

2241.patch (1.2 KB) - added by martinkou 9 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 9 years ago by martinkou

  • Keywords Confirmed added

Confirmed the problem, the editor instance in question can be found at the last link on the side navigation bar in the given URL:

comment:2 Changed 9 years ago by martinkou

This bug is related to #1614, but a quick fix can be made at the moment for this ticket without doing the required investigations in #1614.

Changed 9 years ago by martinkou

comment:3 Changed 9 years ago by martinkou

  • Keywords Review? added

comment:4 follow-up: Changed 9 years ago by martinkou

btw, if you want to fix the FCKeditor on your site now instead of waiting for the 2.6.1 release, you can try editing the following two files in your FCKeditor distribution:

fckeditorcode_ie.js fckeditorcode_gecko.js (These files are just compacted versions of our original JavaScript source code)

Look for the string src=FCKConfig.BasePath+'fckdialog.html', and change the "BasePath" to "FullBasePath".

comment:5 Changed 9 years ago by martinkou

  • Owner set to martinkou
  • Status changed from new to assigned

comment:6 Changed 9 years ago by fredck

  • Keywords Review+ added; Review? removed

comment:7 in reply to: ↑ 4 Changed 9 years ago by aaron

Thanks Martin, that fixes the problem! :)

comment:8 Changed 9 years ago by martinkou

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with [2051].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy