From 084e7e7d73c6d6319fdc4ebab971969d5fb5b9af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 7 Feb 2014 13:27:17 +0100 Subject: [PATCH] Fixes #68, bug when trying open dashboard while in edit/fullscreen mode --- src/app/services/dashboard.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/services/dashboard.js b/src/app/services/dashboard.js index bb31d85d349..ad3eb5e745c 100644 --- a/src/app/services/dashboard.js +++ b/src/app/services/dashboard.js @@ -138,6 +138,9 @@ function (angular, $, kbn, _, config, moment, Modernizr) { // Cancel all timers timer.cancel_all(); + // reset fullscreen flag + $rootScope.fullscreen = false; + // Make sure the dashboard being loaded has everything required dashboard = dash_defaults(dashboard);