From 501f21b16c506b8d0ed36b4fee3489fda8b0e96d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 4 Feb 2016 13:58:43 +0100 Subject: [PATCH] fix(dashlist): fix for entering dashboard list edit mode --- public/app/features/panel/panel_loader.ts | 2 +- public/app/plugins/panel/dashlist/module.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/app/features/panel/panel_loader.ts b/public/app/features/panel/panel_loader.ts index 58d0fe47c73..0608c37f9fd 100644 --- a/public/app/features/panel/panel_loader.ts +++ b/public/app/features/panel/panel_loader.ts @@ -8,7 +8,7 @@ import {UnknownPanel} from '../../plugins/panel/unknown/module'; var directiveModule = angular.module('grafana.directives'); /** @ngInject */ -function panelLoader($compile, dynamicDirectiveSrv, $http, $q, $injector, $templateCache) { +function panelLoader($compile, $http, $q, $injector, $templateCache) { return { restrict: 'E', scope: { diff --git a/public/app/plugins/panel/dashlist/module.ts b/public/app/plugins/panel/dashlist/module.ts index 5922902a34a..8974e90a3f0 100644 --- a/public/app/plugins/panel/dashlist/module.ts +++ b/public/app/plugins/panel/dashlist/module.ts @@ -28,6 +28,7 @@ class DashListCtrl extends PanelCtrl { } initEditMode() { + super.initEditMode(); this.modes = ['starred', 'search']; this.icon = "fa fa-star"; this.addEditorTab('Options', () => {