From 155cce959f8c32788933048a61da577232046ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 28 Oct 2016 14:38:48 +0200 Subject: [PATCH] more polish on edit mode --- .../app/features/dashboard/dashboard_ctrl.ts | 1 - .../features/dashboard/dashnav/dashnav.html | 2 +- public/app/features/dashboard/model.ts | 4 +++ .../app/features/dashboard/row/add_panel.ts | 6 ++--- public/app/features/dashboard/row/row.html | 2 +- .../features/dashboard/submenu/submenu.html | 2 +- public/sass/pages/_dashboard.scss | 25 +++++++++++-------- 7 files changed, 24 insertions(+), 18 deletions(-) diff --git a/public/app/features/dashboard/dashboard_ctrl.ts b/public/app/features/dashboard/dashboard_ctrl.ts index 8845717659d..e273a8a3b69 100644 --- a/public/app/features/dashboard/dashboard_ctrl.ts +++ b/public/app/features/dashboard/dashboard_ctrl.ts @@ -40,7 +40,6 @@ export class DashboardCtrl { $scope.setupDashboardInternal = function(data) { var dashboard = dashboardSrv.create(data.dashboard, data.meta); dashboardSrv.setCurrent(dashboard); - dashboard.editMode = true; // init services timeSrv.init(dashboard); diff --git a/public/app/features/dashboard/dashnav/dashnav.html b/public/app/features/dashboard/dashnav/dashnav.html index 47d12d05206..024f5365d2a 100644 --- a/public/app/features/dashboard/dashnav/dashnav.html +++ b/public/app/features/dashboard/dashnav/dashnav.html @@ -52,7 +52,7 @@