From 41a6fa148007489f57dc003b045c4092ca26e1cd Mon Sep 17 00:00:00 2001 From: Shane Kilkelly Date: Thu, 12 May 2016 11:02:24 +0100 Subject: [PATCH] Fix uncompiled pdf view --- .../public/coffee/ide/pdf/controllers/PdfController.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee index 64553085f5..8a244495c6 100644 --- a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee +++ b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee @@ -41,7 +41,6 @@ define [ $scope.pdf.error = false $scope.pdf.timedout = false $scope.pdf.failure = false - $scope.pdf.uncompiled = false $scope.pdf.projectTooLarge = false $scope.pdf.url = null $scope.pdf.clsiMaintenance = false @@ -52,8 +51,7 @@ define [ $scope.pdf.view = 'errors' $scope.pdf.timedout = true else if response.status == "autocompile-backoff" - $scope.pdf.view = 'errors' - $scope.pdf.uncompiled = true + $scope.pdf.view = 'uncompiled' else if response.status == "project-too-large" $scope.pdf.view = 'errors' $scope.pdf.projectTooLarge = true