From 40780feb65f252f0005aceaf6ca904f54e80094c Mon Sep 17 00:00:00 2001 From: cdujeu Date: Wed, 29 Oct 2014 00:32:51 +0100 Subject: [PATCH] Fix CKEditor: hash in URL was breaking the load, set the CKEDITOR_BASEPATH manually --- core/src/plugins/editor.ckeditor/class.AjxpCkEditor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/plugins/editor.ckeditor/class.AjxpCkEditor.js b/core/src/plugins/editor.ckeditor/class.AjxpCkEditor.js index 00e185d243..0ae47e798b 100644 --- a/core/src/plugins/editor.ckeditor/class.AjxpCkEditor.js +++ b/core/src/plugins/editor.ckeditor/class.AjxpCkEditor.js @@ -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",