modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/DashboardsView.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 21f755d4e0cc2a7000e42e2fd6df7d1ac2e0e946 Author: Mike Thompson mithomps@redhat.com Date: Wed Feb 1 12:24:08 2012 -0800
[BZ734047 - Incorrect dashboard name on immediate deletion] - For some timing reason, new dashboard tabs were not showing the proper name on the confirmation message when the tab is closed (delete).
diff --git a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/DashboardsView.java b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/DashboardsView.java index c3a83d9..28456b2 100644 --- a/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/DashboardsView.java +++ b/modules/enterprise/gui/coregui/src/main/java/org/rhq/enterprise/gui/coregui/client/dashboard/DashboardsView.java @@ -247,7 +247,8 @@ public class DashboardsView extends LocatableVLayout implements DashboardContain public void onCloseClick(final TabCloseClickEvent tabCloseClickEvent) { tabCloseClickEvent.cancel(); final DashboardView dashboardView = (DashboardView) tabCloseClickEvent.getTab().getPane(); - SC.ask(MSG.view_dashboards_confirm1() + " [" + tabCloseClickEvent.getTab().getTitle() + "]?", + + SC.ask(MSG.view_dashboards_confirm1() + " [" + dashboardView.getStoredDashboard().getName()+ "]?", new BooleanCallback() { public void execute(Boolean confirmed) { if (confirmed) {