Explorar o código

Fixes #68, bug when trying open dashboard while in edit/fullscreen mode

Torkel Ödegaard %!s(int64=12) %!d(string=hai) anos
pai
achega
084e7e7d73
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/app/services/dashboard.js

+ 3 - 0
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);