mirror of https://github.com/grafana/grafana
parent
591846c8b9
commit
56b3443268
@ -0,0 +1,25 @@ |
|||||||
|
define([ |
||||||
|
'angular', |
||||||
|
], |
||||||
|
function (angular) { |
||||||
|
'use strict'; |
||||||
|
|
||||||
|
var module = angular.module('kibana.controllers'); |
||||||
|
|
||||||
|
module.controller('GraphiteTargetCtrl', function($scope) { |
||||||
|
|
||||||
|
$scope.init = function() { |
||||||
|
console.log('target:', $scope.target); |
||||||
|
}; |
||||||
|
|
||||||
|
$scope.targetChanged = function() { |
||||||
|
$scope.$parent.get_data(); |
||||||
|
$scope.editMode = false; |
||||||
|
}; |
||||||
|
|
||||||
|
$scope.edit = function() { |
||||||
|
$scope.editMode = true; |
||||||
|
}; |
||||||
|
}); |
||||||
|
|
||||||
|
}); |
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue