mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUG Hiding group selections in "Settings"
JS functionality was only applied to page-specific settings with similar fields, but not to SiteConfig settings.
This commit is contained in:
parent
5b2cc19704
commit
c2d31e55dd
@ -8,6 +8,12 @@ class CMSSettingsController extends LeftAndMain {
|
||||
static $tree_class = 'SiteConfig';
|
||||
static $required_permission_codes = array('EDIT_SITECONFIG');
|
||||
|
||||
public function init() {
|
||||
parent::init();
|
||||
|
||||
Requirements::javascript(CMS_DIR . '/javascript/CMSMain.EditForm.js');
|
||||
}
|
||||
|
||||
public function getResponseNegotiator() {
|
||||
$neg = parent::getResponseNegotiator();
|
||||
$controller = $this;
|
||||
|
Loading…
Reference in New Issue
Block a user