From: colemanw Date: Wed, 13 Dec 2023 22:13:51 +0000 (-0500) Subject: Dashboard - Only reset the fullscreen dashlet when maximizing X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5cbaab6ac60f7409745c2618c2040582dfafe0dd;p=civicrm-core.git Dashboard - Only reset the fullscreen dashlet when maximizing --- diff --git a/ang/crmDashboard/Dashboard.html b/ang/crmDashboard/Dashboard.html index 15fe25a15b..f0d044501c 100644 --- a/ang/crmDashboard/Dashboard.html +++ b/ang/crmDashboard/Dashboard.html @@ -17,10 +17,10 @@ -
+
- +
diff --git a/ang/crmDashboard/crmDashboard.component.js b/ang/crmDashboard/crmDashboard.component.js index 3e0db13d0d..b9536ad4b3 100644 --- a/ang/crmDashboard/crmDashboard.component.js +++ b/ang/crmDashboard/crmDashboard.component.js @@ -100,7 +100,7 @@ }; this.showFullscreen = function(dashlet) { - ctrl.fullscreenDashlet = true; + ctrl.fullscreenDashlet = dashlet.name; var options = CRM.utils.adjustDialogDefaults({ width: '90%', height: '90%',