Skip to content

Commit

Permalink
Resolve #19 Fix regression following upgrade to latest CKEditor by ge…
Browse files Browse the repository at this point in the history
…tting uploaded file response back in json
  • Loading branch information
seamuslee001 authored and totten committed Jul 18, 2018
1 parent 30679d5 commit a35c96d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/wysiwyg/crm.ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down

0 comments on commit a35c96d

Please sign in to comment.