Sfoglia il codice sorgente

un-show logs on successful run.

Shane Kilkelly 10 anni fa
parent
commit
723031f7f3

+ 1 - 0
services/web/public/coffee/ide/pdf/controllers/PdfController.coffee

@@ -66,6 +66,7 @@ define [
 				$scope.pdf.tooRecentlyCompiled = true
 				$scope.pdf.tooRecentlyCompiled = true
 			else if response.status == "success"
 			else if response.status == "success"
 				$scope.pdf.view = 'pdf'
 				$scope.pdf.view = 'pdf'
+				$scope.shouldShowLogs = false
 				# define the base url
 				# define the base url
 				$scope.pdf.url = "/project/#{$scope.project_id}/output/output.pdf?cache_bust=#{Date.now()}"
 				$scope.pdf.url = "/project/#{$scope.project_id}/output/output.pdf?cache_bust=#{Date.now()}"
 				# add a query string parameter for the compile group
 				# add a query string parameter for the compile group