Merge pull request #391 from creative-commoners/pulls/2.1/duplicate-tabs

FIX Remove duplicate Configuration tabs when creating a new subsite
This commit is contained in:
Dylan Wagstaff 2018-09-14 19:55:33 +12:00 committed by GitHub
commit 4323db52f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ class GridFieldSubsiteDetailFormItemRequest extends GridFieldDetailForm_ItemRequ
$templateArray
);
$templateDropdown->setEmptyString('(' . _t('Subsite.NOTEMPLATE', 'No template') . ')');
$form->Fields()->addFieldToTab('Root.Configuration', $templateDropdown);
$form->Fields()->addFieldToTab('Root.Main', $templateDropdown);
}
return $form;