diff --git a/app/instructionalSupport/instructionalSupport.html b/app/instructionalSupport/instructionalSupport.html index 359d6dd8d..530fb8b6c 100644 --- a/app/instructionalSupport/instructionalSupport.html +++ b/app/instructionalSupport/instructionalSupport.html @@ -20,21 +20,21 @@ + - - + - + diff --git a/app/instructionalSupport/studentSupportCallForm/StudentSupportCallForm.html b/app/instructionalSupport/studentSupportCallForm/StudentSupportCallForm.html index 66ea8d377..56d1db4be 100644 --- a/app/instructionalSupport/studentSupportCallForm/StudentSupportCallForm.html +++ b/app/instructionalSupport/studentSupportCallForm/StudentSupportCallForm.html @@ -22,7 +22,7 @@ - + diff --git a/app/instructionalSupport/studentSupportCallForm/StudentSupportCallFormCtrl.js b/app/instructionalSupport/studentSupportCallForm/StudentSupportCallFormCtrl.js index a39d10115..9f19f43ee 100644 --- a/app/instructionalSupport/studentSupportCallForm/StudentSupportCallFormCtrl.js +++ b/app/instructionalSupport/studentSupportCallForm/StudentSupportCallFormCtrl.js @@ -12,22 +12,13 @@ instructionalSupportApp.controller('StudentSupportCallFormCtrl', ['$scope', '$ro $scope.year = $routeParams.year; $scope.termShortCode = $routeParams.termShortCode; $scope.nextYear = (parseInt($scope.year) + 1).toString().slice(-2); + $scope.view = {}; $rootScope.$on('studentStateChanged', function (event, data) { $scope.view.state = data; }); - $scope.toggleEligibilityConfirmed = function() { - if ($scope.view.state.supportCallResponse.eligibilityConfirmed) { - $scope.view.state.supportCallResponse.eligibilityConfirmed = false; - } else { - $scope.view.state.supportCallResponse.eligibilityConfirmed = true; - } - - studentActions.updateSupportCallResponse($scope.view.state.supportCallResponse); - }; - $scope.addPreference = function(preference) { studentActions.addStudentPreference(preference); }; diff --git a/app/instructionalSupport/studentSupportCallForm/services/studentActions.js b/app/instructionalSupport/studentSupportCallForm/services/studentActions.js index 123196908..cf8f7cd48 100644 --- a/app/instructionalSupport/studentSupportCallForm/services/studentActions.js +++ b/app/instructionalSupport/studentSupportCallForm/services/studentActions.js @@ -1,4 +1,4 @@ -instructionalSupportApp.service('supportStaffFormActionCreators', function ($rootScope, $window, studentService, studentReducers) { +instructionalSupportApp.service('studentActions', function ($rootScope, $window, studentService, studentReducers) { return { getInitialState: function (workgroupId, year, termShortCode) { studentService.getInitialState(workgroupId, year, termShortCode).then(function (payload) {