mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
DashletForm: Ensure to pre-select a dashboard when clicking add-dashlet
This commit is contained in:
parent
f1bef3c52c
commit
c53c084846
@ -74,7 +74,7 @@ class DashletForm extends BaseDashboardForm
|
||||
$this->clearPopulatedValue('pane');
|
||||
}
|
||||
|
||||
$populatedPane = $this->getPopulatedValue('pane', reset($panes));
|
||||
$populatedPane = $this->getPopulatedValue('pane', $requestUrl->getParam('pane', reset($panes)));
|
||||
$disable = empty($panes) || $populatedHome === self::CREATE_NEW_HOME;
|
||||
$this->addElement('select', 'pane', [
|
||||
'class' => 'autosubmit',
|
||||
|
Loading…
x
Reference in New Issue
Block a user