mirror of https://github.com/grafana/grafana.git
				
				
				
			Removed 2 console.logs
This commit is contained in:
		
							parent
							
								
									6f2dd2e2a5
								
							
						
					
					
						commit
						e737b51e9d
					
				|  | @ -58,14 +58,12 @@ function (angular, $, config, _) { | ||||||
|       $scope.dashAlerts = alertSrv; |       $scope.dashAlerts = alertSrv; | ||||||
| 
 | 
 | ||||||
|       $scope.filter = filterSrv; |       $scope.filter = filterSrv; | ||||||
|       console.log( "dash controller -> init -> current dashboard", dashboard.current ); |  | ||||||
|       $scope.filter.init( dashboard.current ); |       $scope.filter.init( dashboard.current ); | ||||||
| 
 | 
 | ||||||
|       $scope.$watch('dashboard.current', function(newValue) { |       $scope.$watch('dashboard.current', function(newValue) { | ||||||
|           $scope.filter.init( newValue ); |           $scope.filter.init( newValue ); | ||||||
|       }); |       }); | ||||||
| 
 | 
 | ||||||
|       console.log( "Scope I watch on", $scope ); |  | ||||||
|       $scope.$watch('filter.time', function() { |       $scope.$watch('filter.time', function() { | ||||||
|           $scope.dashboard.refresh(); |           $scope.dashboard.refresh(); | ||||||
|       }, true); |       }, true); | ||||||
|  |  | ||||||
|  | @ -388,7 +388,6 @@ function (angular, $, kbn, moment, _) { | ||||||
| 
 | 
 | ||||||
|         elem.bind("plotselected", function (event, ranges) { |         elem.bind("plotselected", function (event, ranges) { | ||||||
|           scope.$apply( function() { |           scope.$apply( function() { | ||||||
|               console.log( "Scope I call filter.setTime on", scope ); |  | ||||||
|               scope.filter.setTime({ |               scope.filter.setTime({ | ||||||
|                 from  : moment.utc(ranges.xaxis.from).toDate(), |                 from  : moment.utc(ranges.xaxis.from).toDate(), | ||||||
|                 to    : moment.utc(ranges.xaxis.to).toDate(), |                 to    : moment.utc(ranges.xaxis.to).toDate(), | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue