Skip to content

Commit

Permalink
Merge pull request #263 from rashidkpc/master
Browse files Browse the repository at this point in the history
another timepicker fix
  • Loading branch information
Rashid Khan committed Jul 23, 2013
2 parents e0d6cd4 + 3756f49 commit 7de3789
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions panels/timepicker/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -104,7 +100,6 @@ angular.module('kibana.timepicker', [])
update_panel();
}
}
*/
});
};

Expand Down

0 comments on commit 7de3789

Please sign in to comment.