From 932eb2b22dfe6c30473b1cf973661c28c5b9c635 Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Wed, 13 Jun 2018 13:11:06 +1200 Subject: [PATCH] BUG Fix CMS components failing to register on other CMS sections (#2182) Fixes https://github.com/silverstripe/silverstripe-framework/issues/7996 --- _config/scripts.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 _config/scripts.yml diff --git a/_config/scripts.yml b/_config/scripts.yml new file mode 100644 index 00000000..241ef2bb --- /dev/null +++ b/_config/scripts.yml @@ -0,0 +1,9 @@ +--- +Name: cmsscripts +--- +SilverStripe\Admin\LeftAndMain: + extra_requirements_javascript: + - 'silverstripe/cms: client/dist/js/bundle.js' + - 'silverstripe/cms: client/dist/js/SilverStripeNavigator.js' + extra_requirements_css: + - 'silverstripe/cms: client/dist/styles/bundle.css'