Added option to dynamicly set the sub-form layout from global options. Fixed bug in compiler that caused index warning.
This commit is contained in:
@ -246,6 +246,9 @@ class ComponentbuilderModelAdmin_fields_conditions extends JModelAdmin
|
||||
$form->setValue($redirectedField, null, $redirectedValue);
|
||||
}
|
||||
}
|
||||
|
||||
// update the addconditions (sub form) layout
|
||||
$form->setFieldAttribute('addconditions', 'layout', ComponentbuilderHelper::getSubformLayout('admin_fields_conditions', 'addconditions'));
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user