Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit b93e2bbee20c0ce0b1dd5991d32add22dd1488fe 1 parent 44c237c
@chillu chillu authored
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');
Please sign in to comment.
Something went wrong with that request. Please try again.