mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-23 18:07:42 +02:00
DashletForm: Ensure to pre-select a dashboard when clicking add-dashlet
This commit is contained in:
parent
f6d2664c21
commit
96fbd28c56
@ -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