From a8cdfb7ecc86625b462993f8abc40e0df1a54dfe Mon Sep 17 00:00:00 2001 From: Alasdair Smith Date: Thu, 7 Sep 2017 11:13:38 +0100 Subject: [PATCH] Track autocompile setting change --- .../web/public/coffee/ide/pdf/controllers/PdfController.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee index cc569a9465..65b0263163 100644 --- a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee +++ b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee @@ -91,6 +91,7 @@ define [ if newValue? and oldValue != newValue localStorage("autocompile_enabled:#{$scope.project_id}", newValue) toggleAutoCompile(newValue) + event_tracking.sendMB "autocompile-setting-changed", newValue if window.user?.betaProgram and $scope.autocompile_enabled toggleAutoCompile(true)