Browser back button from result page goes to index ignoring queue

This commit is contained in:
Gaël Métais
2014-12-22 22:22:58 +01:00
parent 1c0936d4c1
commit b6df64337d
+1 -1
View File
@@ -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
}