minor update

This commit is contained in:
Torkel Ödegaard 2016-10-27 22:11:00 +02:00
parent 9c50893221
commit f8395666e6

View File

@ -90,9 +90,10 @@ export class AddPanelCtrl {
this.rowCtrl.dropView = 0; this.rowCtrl.dropView = 0;
this.dashboard.addPanel(panel, this.row); this.dashboard.addPanel(panel, this.row);
this.$timeout(() => { this.$timeout(() => {
this.$rootScope.appEvent('panel-change-view', { this.$rootScope.broadcast('render');
fullscreen: true, edit: true, panelId: panel.id //this.$rootScope.appEvent('panel-change-view', {
}); // fullscreen: true, edit: true, panelId: panel.id
//});
}); });
} }
} }