Commit e737b51e by Harald Kraemer

Removed 2 console.logs

parent 6f2dd2e2
......@@ -58,14 +58,12 @@ function (angular, $, config, _) {
$scope.dashAlerts = alertSrv;
$scope.filter = filterSrv;
console.log( "dash controller -> init -> current dashboard", dashboard.current );
$scope.filter.init( dashboard.current );
$scope.$watch('dashboard.current', function(newValue) {
$scope.filter.init( newValue );
});
console.log( "Scope I watch on", $scope );
$scope.$watch('filter.time', function() {
$scope.dashboard.refresh();
}, true);
......
......@@ -388,7 +388,6 @@ function (angular, $, kbn, moment, _) {
elem.bind("plotselected", function (event, ranges) {
scope.$apply( function() {
console.log( "Scope I call filter.setTime on", scope );
scope.filter.setTime({
from : moment.utc(ranges.xaxis.from).toDate(),
to : moment.utc(ranges.xaxis.to).toDate(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment