Răsfoiți Sursa

changed $scope.pdf.clsiServerId to ide.clsiServerId

Henry Oswald 10 ani în urmă
părinte
comite
d2cc75b73f

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

@@ -37,7 +37,7 @@ define [
 			}
 
 		parseCompileResponse = (response) ->
-			if response.clsiServerId? and response.clsiServerId != $scope.pdf.clsiServerId
+			if response.clsiServerId? and response.clsiServerId != ide.clsiServerId
 				ide.clsiServerId = response.clsiServerId
 
 			# Reset everything