BUG Fix CMS components failing to register on other CMS sections (#2182)

Fixes https://github.com/silverstripe/silverstripe-framework/issues/7996
This commit is contained in:
Damian Mooyman 2018-06-13 13:11:06 +12:00 committed by Aaron Carlino
parent 8c8e8f21bd
commit 932eb2b22d

9
_config/scripts.yml Normal file
View File

@ -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'