X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=js%2Fwysiwyg%2Fcrm.ckeditor.js;h=64d4a116f35437fdf83e3eed5484e590392f0e61;hb=071e5a4f43909e57c7c42b2e3eecddeb78c017ed;hp=e0da02fcf393723fea9c667e906887d981f798fc;hpb=73c37eb63179394e2195c642480eb0c13ed217bb;p=civicrm-core.git diff --git a/js/wysiwyg/crm.ckeditor.js b/js/wysiwyg/crm.ckeditor.js index e0da02fcf3..64d4a116f3 100644 --- a/js/wysiwyg/crm.ckeditor.js +++ b/js/wysiwyg/crm.ckeditor.js @@ -55,7 +55,7 @@ function initialize() { var browseUrl = CRM.config.resourceBase + "packages/kcfinder/browse.php?cms=civicrm", - uploadUrl = CRM.config.resourceBase + "packages/kcfinder/upload.php?cms=civicrm", + uploadUrl = CRM.config.resourceBase + "packages/kcfinder/upload.php?cms=civicrm&format=json", preset = $(item).data('preset') || 'default', // This variable is always an array but a legacy extension could be setting it as a string. customConfig = (typeof CRM.config.CKEditorCustomConfig === 'string') ? CRM.config.CKEditorCustomConfig :