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
This commit is contained in:
Romain Louis 2007-09-04 03:42:59 +00:00
parent 1739d9932a
commit e7a56ece26

View File

@ -38,6 +38,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
Requirements::javascript("sapphire/javascript/TableListField.js"); Requirements::javascript("sapphire/javascript/TableListField.js");
Requirements::javascript("sapphire/javascript/TableField.js"); Requirements::javascript("sapphire/javascript/TableField.js");
Requirements::javascript("sapphire/javascript/ComplexTableField.js"); Requirements::javascript("sapphire/javascript/ComplexTableField.js");
Requirements::javascript("sapphire/javascript/RelationComplexTableField.js");
Requirements::javascript("survey/javascript/SurveyResponses.js"); Requirements::javascript("survey/javascript/SurveyResponses.js");
Requirements::javascript("survey/javascript/FormResponses.js"); Requirements::javascript("survey/javascript/FormResponses.js");
Requirements::javascript( 'sapphire/javascript/DataReport.js' ); Requirements::javascript( 'sapphire/javascript/DataReport.js' );
@ -64,12 +65,6 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
// For Gallery // For Gallery
Requirements::javascript('gallery/javascript/GalleryPage_CMS.js'); 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: // HACK ALERT:
// We need a better way of including all of the CSS that *might* be used by this application. // 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? // Perhaps the ajax responses can include some instructions to go get more CSS / JavaScript?