diff --git a/application/forms/Dashboard/DashletForm.php b/application/forms/Dashboard/DashletForm.php index 6c4cc2f8e..c21e0f80d 100644 --- a/application/forms/Dashboard/DashletForm.php +++ b/application/forms/Dashboard/DashletForm.php @@ -266,7 +266,7 @@ class DashletForm extends SetupNewDashboardForm // When the user wishes to create a new dashboard pane, we have to explicitly reset the dashboard panes // of the original home, so that it isn't considered as we want to move the pane even though it isn't // supposed to when the original home contains a dashboard with the same name - // @see DashboardHome::managePanes() for details + // @see DashboardHome::manageEntries() for details $selectedPane = $this->getPopulatedValue('pane'); if ((! $selectedPane || $selectedPane === self::CREATE_NEW_PANE) && ! $currentHome->hasEntry($currentPane->getName())) { diff --git a/application/forms/Dashboard/SetupNewDashboardForm.php b/application/forms/Dashboard/SetupNewDashboardForm.php index deff5f5f2..43df2d84b 100644 --- a/application/forms/Dashboard/SetupNewDashboardForm.php +++ b/application/forms/Dashboard/SetupNewDashboardForm.php @@ -208,6 +208,7 @@ class SetupNewDashboardForm extends BaseDashboardForm protected function assembleDashletElements() { + $this->addElement('hidden', 'custom_url', ['required' => false, 'value' => 'y']); $this->addElement('text', 'dashlet', [ 'required' => true, 'label' => t('Dashlet Title'),