Save the syntax validation setting in the onboarding view.

This commit is contained in:
Paulo Reis 2016-10-25 15:01:30 +01:00
parent f4849201aa
commit b913118e07

View file

@ -7,11 +7,11 @@ define [
$scope.innerStep = 1 $scope.innerStep = 1
$scope.turnCodeCheckOn = () -> $scope.turnCodeCheckOn = () ->
settings.saveProjectSettings({ syntaxValidation: true }) settings.saveSettings({ syntaxValidation: true })
navToInnerStep2() navToInnerStep2()
$scope.turnCodeCheckOn = () -> $scope.turnCodeCheckOn = () ->
settings.saveProjectSettings({ syntaxValidation: false }) settings.saveSettings({ syntaxValidation: false })
navToInnerStep2() navToInnerStep2()
$scope.dismiss = () -> $scope.dismiss = () ->