Fixed gh-417 edit layout by removing the one to many div's from the dynamic build method.

This commit is contained in:
2019-06-10 01:05:37 +02:00
parent c966720f79
commit 6da9cb3d42
43 changed files with 622 additions and 548 deletions

View File

@ -193,14 +193,14 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy
// Set Component System Name Selection
$this->componentSystem_nameOptions = JFormHelper::loadFieldType('Component')->options;
// We do some sanitation for filter
// We do some sanitation for Component System Name filter
if (ComponentbuilderHelper::checkArray($this->componentSystem_nameOptions) &&
isset($this->componentSystem_nameOptions[0]->value) &&
!ComponentbuilderHelper::checkString($this->componentSystem_nameOptions[0]->value))
{
unset($this->componentSystem_nameOptions[0]);
}
// Only load filter if it has values
// Only load Component System Name filter if it has values
if (ComponentbuilderHelper::checkArray($this->componentSystem_nameOptions))
{
// Component System Name Filter