diff --git a/code/controllers/CMSSettingsController.php b/code/controllers/CMSSettingsController.php
index <HASH>..<HASH> 100644
--- a/code/controllers/CMSSettingsController.php
+++ b/code/controllers/CMSSettingsController.php
@@ -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;
BUG Hiding group selections in "Settings"

JS functionality was only applied to page-specific settings
with similar fields, but not to SiteConfig settings.