Skip to content
Browse files

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...
1 parent 44c237c commit b93e2bbee20c0ce0b1dd5991d32add22dd1488fe @chillu chillu committed Jul 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/controllers/CMSMain.php
2 code/controllers/CMSMain.php
@@ -607,7 +607,7 @@ public function getEditForm($id = null, $fields = null) {
// TODO Can't merge $FormAttributes in template at the moment
- $form->addExtraClass('center ss-tabset ' . $this->BaseCSSClasses());
+ $form->addExtraClass('center ' . $this->BaseCSSClasses());
// if($form->Fields()->hasTabset()) $form->Fields()->findOrMakeTab('Root')->setTemplate('CMSTabSet');
$form->setAttribute('data-pjax-fragment', 'CurrentForm');

0 comments on commit b93e2bb

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