diff --git a/public/app/core/services/keybindingSrv.ts b/public/app/core/services/keybindingSrv.ts index e07c0c7ebee..4e819abd1bc 100644 --- a/public/app/core/services/keybindingSrv.ts +++ b/public/app/core/services/keybindingSrv.ts @@ -81,7 +81,7 @@ export class KeybindingSrv { this.bind('mod+o', () => { dashboard.graphTooltip = (dashboard.graphTooltip + 1) % 3; appEvents.emit('graph-hover-clear'); - scope.broadcastRefresh(); + this.$rootScope.$broadcast('refresh'); }); this.bind('mod+s', e => { @@ -189,7 +189,7 @@ export class KeybindingSrv { }); this.bind('d r', () => { - scope.ctrl.timeSrv.refreshDashboard(); + this.$rootScope.$broadcast('refresh'); }); this.bind('d s', () => {