diff --git a/src/app/controllers/annotationsEditorCtrl.js b/src/app/controllers/annotationsEditorCtrl.js index 7d9260d1902..60f40eee7cd 100644 --- a/src/app/controllers/annotationsEditorCtrl.js +++ b/src/app/controllers/annotationsEditorCtrl.js @@ -32,7 +32,6 @@ function (angular, app, _, $) { } $scope.$watch('editor.index', function(newVal) { - console.log("value", newVal); if (newVal !== 2) { $scope.reset(); } diff --git a/src/app/panels/timepicker/module.js b/src/app/panels/timepicker/module.js index ae6d382e34d..354623c5028 100644 --- a/src/app/panels/timepicker/module.js +++ b/src/app/panels/timepicker/module.js @@ -25,7 +25,7 @@ function (angular, app, _, moment, kbn) { var module = angular.module('grafana.panels.timepicker', []); app.useModule(module); - module.controller('timepicker', function($scope, $modal, $q) { + module.controller('timepicker', function($scope) { $scope.panelMeta = { status : "Stable", description : "A panel for controlling the time range filters. If you have time based data, "+ @@ -39,8 +39,6 @@ function (angular, app, _, moment, kbn) { refresh_intervals : ['5s','10s','30s','1m','5m','15m','30m','1h','2h','1d'], }; - var customTimeModal = null; - _.defaults($scope.panel,_d); // ng-pattern regexs diff --git a/src/app/partials/templating_editor.html b/src/app/partials/templating_editor.html index 878c017fd84..e323b9918fb 100644 --- a/src/app/partials/templating_editor.html +++ b/src/app/partials/templating_editor.html @@ -1,11 +1,11 @@