Unused parameters are misleading on projectDetail.controller.js

- Removed unused function parameters
- Removed empty statement

Signed-off-by: Teresita de Jesus Guerrero Vela <teresita.guerrero.vela@intel.com>
This commit is contained in:
Teresita de Jesus Guerrero Vela 2017-02-16 17:28:57 -06:00
parent 1f72842eab
commit 326f2f74c7
1 changed files with 2 additions and 2 deletions

View File

@ -67,11 +67,11 @@
$scope.actualProject[key] = $scope.userStory.
tasks_status[key].projects[0]
}
}, function onError(error){
}, function onError(){
$location.path('/projectDetail/notFound/' + $scope.taskId);
}
);
};
}
$scope.selectProject = function(keyProject, idTask){
$scope.actualProject[idTask] = keyProject