Ticket #2241 (closed Bug: fixed)
Floating panels don't respect BasePath property
| Reported by: | aaron | Owned by: | martinkou |
|---|---|---|---|
| Priority: | High | Milestone: | FCKeditor 2.6.1 |
| Component: | UI : Floating Panel | Version: | FCKeditor 2.6 |
| Keywords: | Confirmed Review+ | Cc: |
Description
My editor is located at http://static.snelgeleerd.nl/editor/, but the editor itself is called from a different subdomain, namely http://samenvattingen.snelgeleerd.nl/. I'm calling the editor via the following code:
<script type="text/javascript" src="http://static.snelgeleerd.nl/editor/fckeditor.js"></script>
<script type="text/javascript">
document.domain = 'snelgeleerd.nl';
window.onload = function()
{
var oFCKeditor = new FCKeditor('body');
oFCKeditor.BasePath = 'http://static.snelgeleerd.nl/editor/';
oFCKeditor.ToolbarSet = 'Admin';
oFCKeditor.ReplaceTextarea();
}
</script>
This works, except for the floating panels being called from http://samenvattingen.snelgeleerd.nl/editor/editor/fckdialog.html instead of http://static.snelgeleerd.nl/editor/editor/fckdialog.html, 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
Change History
Note: See
TracTickets for help on using
tickets.