mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
NavigationConfigForm: Properly unset a parent for newly shared children
fixes #3565
This commit is contained in:
parent
5c5ca26596
commit
4dcea91775
@ -666,6 +666,8 @@ class NavigationConfigForm extends ConfigForm
|
||||
+ (empty($availableParents) ? [] : array_combine($availableParents, $availableParents))
|
||||
)
|
||||
);
|
||||
} else {
|
||||
$this->addElement('hidden', 'parent', ['disabled' => true]);
|
||||
}
|
||||
|
||||
$this->addSubForm($itemForm, 'item_form');
|
||||
|
Loading…
x
Reference in New Issue
Block a user