From: Tim Otten Date: Tue, 7 Apr 2015 06:36:21 +0000 (-0700) Subject: CRM-16246 - Load ckeditor in "page-header" instead of "html-header". X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9fa3be3d69b035d680346936ee663fffb51518f3;p=civicrm-core.git CRM-16246 - Load ckeditor in "page-header" instead of "html-header". html-header goes through Drupal aggregation, which breaks ckeditor. --- diff --git a/Civi/Angular/Page/Main.php b/Civi/Angular/Page/Main.php index 854f022583..ed7140751f 100644 --- a/Civi/Angular/Page/Main.php +++ b/Civi/Angular/Page/Main.php @@ -84,7 +84,7 @@ class Main extends \CRM_Core_Page { $this->res->addScriptFile('civicrm', 'bower_components/angular-route/angular-route.min.js', 110, 'html-header', FALSE); // FIXME: crmUi depends on loading ckeditor, but ckeditor doesn't work with this aggregation. - $this->res->addScriptFile('civicrm', 'packages/ckeditor/ckeditor.js', 100, 'html-header', FALSE); + $this->res->addScriptFile('civicrm', 'packages/ckeditor/ckeditor.js', 100, 'page-header', FALSE); $config = \CRM_Core_Config::singleton(); if ($config->debug) {