From d504e9e634fba9440d396277de321e555f18235d Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 28 Sep 2012 16:31:41 +0200 Subject: [PATCH] Add .cms-tabset on all GridFieldDetailForm instances This allows us to add cms behaviour consistently --- forms/gridfield/GridFieldDetailForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forms/gridfield/GridFieldDetailForm.php b/forms/gridfield/GridFieldDetailForm.php index 123bdd87c..31fe37c88 100644 --- a/forms/gridfield/GridFieldDetailForm.php +++ b/forms/gridfield/GridFieldDetailForm.php @@ -332,8 +332,8 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler { $form->setAttribute('data-pjax-fragment', 'CurrentForm Content'); if($form->Fields()->hasTabset()) { $form->Fields()->findOrMakeTab('Root')->setTemplate('CMSTabSet'); - $form->addExtraClass('ss-tabset'); - } + $form->addExtraClass('ss-tabset cms-tabset'); + } if($toplevelController->hasMethod('Backlink')) { $form->Backlink = $toplevelController->Backlink();