From f8395666e6584abf5c0a180ed22196cd563a1513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 27 Oct 2016 22:11:00 +0200 Subject: [PATCH] minor update --- public/app/features/dashboard/row/add_panel.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/app/features/dashboard/row/add_panel.ts b/public/app/features/dashboard/row/add_panel.ts index df7ff0f128a..b056ed00706 100644 --- a/public/app/features/dashboard/row/add_panel.ts +++ b/public/app/features/dashboard/row/add_panel.ts @@ -90,9 +90,10 @@ export class AddPanelCtrl { this.rowCtrl.dropView = 0; this.dashboard.addPanel(panel, this.row); this.$timeout(() => { - this.$rootScope.appEvent('panel-change-view', { - fullscreen: true, edit: true, panelId: panel.id - }); + this.$rootScope.broadcast('render'); + //this.$rootScope.appEvent('panel-change-view', { + // fullscreen: true, edit: true, panelId: panel.id + //}); }); } }