Fixed gh-417 edit layout by removing the one to many div's from the dynamic build method.
This commit is contained in:
@ -183,14 +183,14 @@ class ComponentbuilderViewLibraries extends JViewLegacy
|
||||
|
||||
// Set How Selection
|
||||
$this->howOptions = JFormHelper::loadFieldType('Filebehaviour')->options;
|
||||
// We do some sanitation for filter
|
||||
// We do some sanitation for How filter
|
||||
if (ComponentbuilderHelper::checkArray($this->howOptions) &&
|
||||
isset($this->howOptions[0]->value) &&
|
||||
!ComponentbuilderHelper::checkString($this->howOptions[0]->value))
|
||||
{
|
||||
unset($this->howOptions[0]);
|
||||
}
|
||||
// Only load filter if it has values
|
||||
// Only load How filter if it has values
|
||||
if (ComponentbuilderHelper::checkArray($this->howOptions))
|
||||
{
|
||||
// How Filter
|
||||
|
Reference in New Issue
Block a user