mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-26 03:09:10 +02:00
DashletForm: Don't override populated value with the request param
This commit is contained in:
parent
a8a4738944
commit
2105541493
@ -96,7 +96,7 @@ class DashletForm extends SetupNewDashboardForm
|
|||||||
$this->clearPopulatedValue('pane');
|
$this->clearPopulatedValue('pane');
|
||||||
}
|
}
|
||||||
|
|
||||||
$populatedPane = $this->getPopulatedValue('pane', $this->requestUrl->getParam('pane', reset($panes)));
|
$populatedPane = $this->getPopulatedValue('pane', reset($panes));
|
||||||
$disable = empty($panes) || $populatedHome === self::CREATE_NEW_HOME;
|
$disable = empty($panes) || $populatedHome === self::CREATE_NEW_HOME;
|
||||||
$this->addElement('select', 'pane', [
|
$this->addElement('select', 'pane', [
|
||||||
'class' => 'autosubmit',
|
'class' => 'autosubmit',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user