From b6df64337dff164e2f143d594ba3d19de90a08ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Mon, 22 Dec 2014 22:22:58 +0100 Subject: [PATCH] Browser back button from result page goes to index ignoring queue --- front/src/js/controllers/queueCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/js/controllers/queueCtrl.js b/front/src/js/controllers/queueCtrl.js index 3fa96b6..a18d601 100644 --- a/front/src/js/controllers/queueCtrl.js +++ b/front/src/js/controllers/queueCtrl.js @@ -15,7 +15,7 @@ queueCtrl.controller('QueueCtrl', ['$scope', '$routeParams', '$location', 'Runs' setTimeout(getRunStatus, 2000 + (numberOfTries * 100)); } else if (data.status.statusCode === 'complete') { - $location.path('/result/' + $scope.runId); + $location.path('/result/' + $scope.runId).replace(); } else { // Handled by the view }