From f1bef3c52c276e1daa0309c1cb19efb2be8fb055 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Thu, 7 Apr 2022 16:14:12 +0200 Subject: [PATCH] DeshletForm: Don't re-populate dashboard pane element --- application/forms/Dashboard/DashletForm.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/application/forms/Dashboard/DashletForm.php b/application/forms/Dashboard/DashletForm.php index 5d20634b3..2af8a58a6 100644 --- a/application/forms/Dashboard/DashletForm.php +++ b/application/forms/Dashboard/DashletForm.php @@ -285,9 +285,5 @@ class DashletForm extends BaseDashboardForm 'dashlet' => $dashlet->getTitle(), 'url' => $dashlet->getUrl()->getRelativeUrl() )); - - if ($this->getPopulatedValue('pane') !== self::CREATE_NEW_PANE) { - $this->populate(['pane' => $dashlet->getPane()->getTitle()]); - } } }