diff --git a/src/app/controllers/dash.js b/src/app/controllers/dash.js index b283efdd7df..57330295f9a 100644 --- a/src/app/controllers/dash.js +++ b/src/app/controllers/dash.js @@ -60,12 +60,16 @@ function (angular, config, _) { $scope.ejs = ejsResource(config.elasticsearch); - $rootScope.$on('fullEditMode', function(evt, enabled) { - $scope.fullEditMode = enabled; + $rootScope.$on('panel-fullscreen-enter', function() { + $scope.fullscreenPanelExists = true; + }); + + $rootScope.$on('panel-fullscreen-exit', function() { + $scope.fullscreenPanelExists = false; }); keyboardManager.bind('esc', function() { - $rootScope.$emit('fullEditMode', false); + $rootScope.$emit('panel-fullscreen-exit'); }); }; diff --git a/src/app/controllers/pulldown.js b/src/app/controllers/pulldown.js index abda589384d..b29e42a59df 100644 --- a/src/app/controllers/pulldown.js +++ b/src/app/controllers/pulldown.js @@ -8,7 +8,7 @@ function (angular, app, _) { var module = angular.module('kibana.controllers'); - module.controller('PulldownCtrl', function($scope, $rootScope, $timeout,ejsResource) { + module.controller('PulldownCtrl', function($scope, $rootScope, $timeout) { var _d = { collapse: false, notice: false, diff --git a/src/app/controllers/row.js b/src/app/controllers/row.js index fb156324a4d..98436ab1dca 100644 --- a/src/app/controllers/row.js +++ b/src/app/controllers/row.js @@ -8,7 +8,7 @@ function (angular, app, _) { var module = angular.module('kibana.controllers'); - module.controller('RowCtrl', function($scope, $rootScope, $timeout,ejsResource) { + module.controller('RowCtrl', function($scope, $rootScope, $timeout) { var _d = { title: "Row", height: "150px", diff --git a/src/app/directives/kibanaPanel.js b/src/app/directives/kibanaPanel.js index f9547f40805..7c371a0d683 100644 --- a/src/app/directives/kibanaPanel.js +++ b/src/app/directives/kibanaPanel.js @@ -50,7 +50,7 @@ function (angular) { ''+ '' + - '' + + '' + '{{panel.title}}' + ''+ diff --git a/src/app/panels/graphite/module.html b/src/app/panels/graphite/module.html index dfdbc643609..93209f0e82b 100644 --- a/src/app/panels/graphite/module.html +++ b/src/app/panels/graphite/module.html @@ -1,4 +1,10 @@ -
+
+