From 7f3c14784fa1df261d21167842fc0437dd5598f3 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 23 Feb 2010 03:34:42 +0000 Subject: [PATCH] MINOR Fixed height of MemberTableField 'Groups' tab to allow enough room for TreeMultiSelectField expansion (from r98883) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99689 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/MemberTableField.php | 1 + css/SecurityAdmin.css | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/code/MemberTableField.php b/code/MemberTableField.php index a0554638..cda10b77 100755 --- a/code/MemberTableField.php +++ b/code/MemberTableField.php @@ -414,6 +414,7 @@ class MemberTableField_Popup extends ComplexTableField_Popup { function forTemplate() { $ret = parent::forTemplate(); + Requirements::css(CMS_DIR . '/css/SecurityAdmin.css'); Requirements::javascript(CMS_DIR . '/javascript/MemberTableField.js'); Requirements::javascript(CMS_DIR . '/javascript/MemberTableField_popup.js'); diff --git a/css/SecurityAdmin.css b/css/SecurityAdmin.css index efb9c2b1..90a30cea 100644 --- a/css/SecurityAdmin.css +++ b/css/SecurityAdmin.css @@ -5,4 +5,10 @@ #Form_EditForm_Permissions .Arg input { text-align: right; +} + +/* Ensure there's enough room in the tab for TreeMultiSelectField expansion */ +#MemberTableField_Popup_DetailForm #Groups, +#MemberTableField_Popup_AddForm #Groups { + height: 250px; } \ No newline at end of file