fix(browser history): fixes and enhancements to browser history, it now works properly again AND it can restore previous time ranges in dashboards, closes #7259

This commit is contained in:
Torkel Ödegaard
2017-01-13 17:37:53 +01:00
parent 60a2041065
commit 49fe74228b
14 changed files with 336 additions and 310 deletions

View File

@@ -11,7 +11,7 @@ describe('ElasticDatasource', function() {
beforeEach(angularMocks.module('grafana.core'));
beforeEach(angularMocks.module('grafana.services'));
beforeEach(ctx.providePhase(['templateSrv', 'backendSrv']));
beforeEach(ctx.providePhase(['templateSrv', 'backendSrv', 'timeSrv']));
beforeEach(angularMocks.inject(function($q, $rootScope, $httpBackend, $injector) {
ctx.$q = $q;