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:
Ingo Schommer 2012-12-15 20:01:05 +01:00
parent 5b2cc19704
commit c2d31e55dd

View File

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