From 3756f49d2ca922d7fdb0ad9be23d4a3bbb171653 Mon Sep 17 00:00:00 2001 From: Rashid Khan Date: Tue, 23 Jul 2013 14:28:03 -0700 Subject: [PATCH] another timepicker fix --- panels/timepicker/module.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/panels/timepicker/module.js b/panels/timepicker/module.js index dcc88ec60fc48..8910ebd071cc2 100644 --- a/panels/timepicker/module.js +++ b/panels/timepicker/module.js @@ -86,16 +86,12 @@ angular.module('kibana.timepicker', []) // In case some other panel broadcasts a time, set us to an absolute range $scope.$on('refresh', function() { - /* if(filterSrv.idsByType('time').length > 0) { var time = filterSrv.timeRange('min'); if($scope.time.from.diff(moment.utc(time.from),'seconds') !== 0 || $scope.time.to.diff(moment.utc(time.to),'seconds') !== 0) { - - console.log('time mismatch!') - return; $scope.set_mode('absolute'); // These 3 statements basicly do everything time_apply() does @@ -104,7 +100,6 @@ angular.module('kibana.timepicker', []) update_panel(); } } - */ }); };