diff --git a/templates/js/controllers/taskController.js b/templates/js/controllers/taskController.js index 3619d56..ea62d41 100644 --- a/templates/js/controllers/taskController.js +++ b/templates/js/controllers/taskController.js @@ -118,7 +118,7 @@ angular.module('SeHub') }; $scope.submitGrade = function(event){ - apiService.submitGrade(token, taskId, groupId, $scope.task.garde.grade).success(function(data){ + apiService.submitGrade(token, taskId, groupId, $scope.task.grade.grade).success(function(data){ $mdDialog.show( $mdDialog.alert() .title('Thanks For Grading') diff --git a/templates/views/task.html b/templates/views/task.html index eccf7af..15eb302 100644 --- a/templates/views/task.html +++ b/templates/views/task.html @@ -19,10 +19,10 @@ Project Name: {{group.projectName}}