Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion libraries/src/MVC/Model/WorkflowBehaviorTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,10 @@ protected function addTransitionField(Form $form, $data)
$field->addAttribute('type', $this->workflowEnabled ? 'transition' : 'hidden');
$field->addAttribute('label', 'COM_CONTENT_WORKFLOW_STAGE');
$field->addAttribute('extension', $extension);
$field->addAttribute('layout', 'joomla.form.field.groupedlist-transition');

if ($this->workflowEnabled) {
$field->addAttribute('layout', 'joomla.form.field.groupedlist-transition');
}

$form->setField($field);

Expand Down
Loading