Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix CKEditor: hash in URL was breaking the load, set the CKEDITOR_BAS…
Browse files Browse the repository at this point in the history
…EPATH manually
  • Loading branch information
cdujeu committed Oct 28, 2014
1 parent 7db43df commit 40780fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/plugins/editor.ckeditor/class.AjxpCkEditor.js
Expand Up @@ -24,6 +24,8 @@ Class.create("AjxpCkEditor", TextEditor, {
initialize: function($super, oFormObject, options)
{
$super(oFormObject, options);
CKEDITOR_BASEPATH = CKEDITOR.basePath = document.location.href.split('#').shift()+"plugins/editor.ckeditor/ckeditor/";

this.editorConfig = {
resize_enabled:false,
toolbar : "Ajxp",
Expand Down

0 comments on commit 40780fe

Please sign in to comment.