Skip to content

Commit

Permalink
Fix failing to pass config location to CKEditor. Fixes #3162
Browse files Browse the repository at this point in the history
  • Loading branch information
mshibuya committed Aug 3, 2019
1 parent 498b23c commit c38b76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/rails_admin/ra.widgets.js
Expand Up @@ -235,7 +235,7 @@
instance.destroy(true);
}
} catch (error1) {}
window.CKEDITOR.replace(this, $(this).data('options'));
window.CKEDITOR.replace(this, $(this).data('options').options);
$(this).addClass('ckeditored');
});
};
Expand Down

0 comments on commit c38b76d

Please sign in to comment.