Fix uncompiled pdf view

This commit is contained in:
Shane Kilkelly 2016-05-12 11:02:24 +01:00
parent 48b7800c7f
commit 41a6fa1480

View file

@ -41,7 +41,6 @@ define [
$scope.pdf.error = false $scope.pdf.error = false
$scope.pdf.timedout = false $scope.pdf.timedout = false
$scope.pdf.failure = false $scope.pdf.failure = false
$scope.pdf.uncompiled = false
$scope.pdf.projectTooLarge = false $scope.pdf.projectTooLarge = false
$scope.pdf.url = null $scope.pdf.url = null
$scope.pdf.clsiMaintenance = false $scope.pdf.clsiMaintenance = false
@ -52,8 +51,7 @@ define [
$scope.pdf.view = 'errors' $scope.pdf.view = 'errors'
$scope.pdf.timedout = true $scope.pdf.timedout = true
else if response.status == "autocompile-backoff" else if response.status == "autocompile-backoff"
$scope.pdf.view = 'errors' $scope.pdf.view = 'uncompiled'
$scope.pdf.uncompiled = true
else if response.status == "project-too-large" else if response.status == "project-too-large"
$scope.pdf.view = 'errors' $scope.pdf.view = 'errors'
$scope.pdf.projectTooLarge = true $scope.pdf.projectTooLarge = true