From 7f2041504889b6f6baee870c839f086009f64984 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Wed, 24 Aug 2016 16:48:45 +0100 Subject: [PATCH] only set compileExited on compile errors --- .../web/public/coffee/ide/pdf/controllers/PdfController.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee index d6c19cd0ea..2ad662dc34 100644 --- a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee +++ b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee @@ -118,6 +118,7 @@ define [ $scope.pdf.renderingError = false $scope.pdf.projectTooLarge = false $scope.pdf.compileTerminated = false + $scope.pdf.compileExited = false # make a cache to look up files by name fileByPath = {} @@ -144,7 +145,6 @@ define [ fetchLogs(fileByPath) else if response.status in ["validation-fail", "validation-pass"] $scope.pdf.view = 'pdf' - $scope.pdf.compileExited = true $scope.pdf.url = last_pdf_url $scope.shouldShowLogs = true fetchLogs(fileByPath, { validation: true })