Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

RelationComplexTableField.js and GalleryPage_CMS.js requirements adding

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41203 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit e7a56ece2654ddc046c58c6ffe5dbd4a19c82d48 1 parent 1739d99
Romain Louis authored
Showing with 2 additions and 7 deletions.
  1. +2 −7 code/CMSMain.php
9 code/CMSMain.php
View
@@ -38,6 +38,7 @@ public function init() {
Requirements::javascript("sapphire/javascript/TableListField.js");
Requirements::javascript("sapphire/javascript/TableField.js");
Requirements::javascript("sapphire/javascript/ComplexTableField.js");
+ Requirements::javascript("sapphire/javascript/RelationComplexTableField.js");
Requirements::javascript("survey/javascript/SurveyResponses.js");
Requirements::javascript("survey/javascript/FormResponses.js");
Requirements::javascript( 'sapphire/javascript/DataReport.js' );
@@ -63,13 +64,7 @@ public function init() {
// For Gallery
Requirements::javascript('gallery/javascript/GalleryPage_CMS.js');
-
- Requirements::themedCSS('typography');
-
- // For Widgets
- Requirements::css("cms/css/WidgetAreaEditor.css");
- Requirements::javascript("cms/javascript/WidgetAreaEditor.js");
-
+
// HACK ALERT:
// We need a better way of including all of the CSS that *might* be used by this application.
// Perhaps the ajax responses can include some instructions to go get more CSS / JavaScript?
Please sign in to comment.
Something went wrong with that request. Please try again.