CRM-16354 - Civi/Angular - Don't load ckeditor from "packages"
authorTim Otten <totten@civicrm.org>
Mon, 18 May 2015 22:15:20 +0000 (15:15 -0700)
committerTim Otten <totten@civicrm.org>
Mon, 18 May 2015 22:17:49 +0000 (15:17 -0700)
It's now loaded on all pages via Resources::coreResourceList().
The old references produces a warning in dev console.

Civi/Angular/Page/Main.php

index feff8c441a9581abfc906db2f8a86bca97ce629c..344936fa35c96aac594a90e9fa7a57f25b9deb28 100644 (file)
@@ -79,9 +79,6 @@ class Main extends \CRM_Core_Page {
 
     $this->res->addScriptFile('civicrm', 'bower_components/angular/angular.min.js', 100, '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, 'page-header', FALSE);
-
     $headOffset = 0;
     $config = \CRM_Core_Config::singleton();
     if ($config->debug) {