Skip to content
This repository
Browse code

Remove .ss-tabset class from CMSMain forms, confuses tab state setting.

It is already applied to the parent template container,
which means that tab state finds two nested sets,
setting the wrong id (#Root instead of #pages-controller-cms-content
  • Loading branch information...
commit b93e2bbee20c0ce0b1dd5991d32add22dd1488fe 1 parent 44c237c
Ingo Schommer authored July 13, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  code/controllers/CMSMain.php
2  code/controllers/CMSMain.php
@@ -607,7 +607,7 @@ public function getEditForm($id = null, $fields = null) {
607 607
 			$form->addExtraClass('cms-edit-form');
608 608
 			$form->setTemplate($this->getTemplatesWithSuffix('_EditForm'));
609 609
 			// TODO Can't merge $FormAttributes in template at the moment
610  
-			$form->addExtraClass('center ss-tabset ' . $this->BaseCSSClasses());
  610
+			$form->addExtraClass('center ' . $this->BaseCSSClasses());
611 611
 			// if($form->Fields()->hasTabset()) $form->Fields()->findOrMakeTab('Root')->setTemplate('CMSTabSet');
612 612
 			$form->setAttribute('data-pjax-fragment', 'CurrentForm');
613 613
 

0 notes on commit b93e2bb

Please sign in to comment.
Something went wrong with that request. Please try again.