Removed 2 console.logs

This commit is contained in:
Harald Kraemer 2014-05-20 10:24:03 +02:00
parent 6f2dd2e2a5
commit e737b51e9d
2 changed files with 0 additions and 3 deletions

View File

@ -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);

View File

@ -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(),