Explorar el Código

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

Torkel Ödegaard hace 12 años
padre
commit
084e7e7d73
Se han modificado 1 ficheros con 3 adiciones y 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);