From 0f7e4c7d29e7c1ec8a551eebd9959c66d4b7208f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 27 Dec 2013 08:32:40 +0100 Subject: [PATCH] tabs fix in fulleditor --- src/app/panels/graphite/module.html | 2 +- src/app/panels/graphite/module.js | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/app/panels/graphite/module.html b/src/app/panels/graphite/module.html index 9e7156a6041..dfdbc643609 100644 --- a/src/app/panels/graphite/module.html +++ b/src/app/panels/graphite/module.html @@ -62,7 +62,7 @@
-
+
diff --git a/src/app/panels/graphite/module.js b/src/app/panels/graphite/module.js index d2cb5236ccb..1756e14578b 100644 --- a/src/app/panels/graphite/module.js +++ b/src/app/panels/graphite/module.js @@ -215,6 +215,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) { // Hide view options by default $scope.options = false; $scope.editor = {index: 1}; + $scope.editorTabs = _.union(['General'],_.pluck($scope.panelMeta.fullEditorTabs,'title')); $scope.hiddenSeries = {}; // Always show the query if an alias isn't set. Users can set an alias if the query is too @@ -441,10 +442,6 @@ function (angular, app, $, _, kbn, moment, timeSeries) { $scope.$emit('toggleLegend', info.alias); }; - $scope.setEditorTabs = function(panelMeta) { - $scope.editorTabs = _.union(['General'],_.pluck(panelMeta.fullEditorTabs,'title')); - }; - }); module.directive('histogramChart', function(filterSrv) {