Cleaning up code from PR feedback

This commit is contained in:
Jared Tabor
2016-04-08 14:55:46 -07:00
parent 72ae8f46c9
commit de56747d1c
7 changed files with 30 additions and 93 deletions

View File

@@ -39,7 +39,6 @@ export default
for (i = 0; i < $scope.notification_type_options.length; i++) {
if ($scope.notification_type_options[i].value === '') {
$scope.notification_type_options[i].value="manual";
// $scope.scm_type = $scope.scm_type_options[i];
break;
}
}
@@ -80,14 +79,6 @@ export default
}
}
// if ($scope.notification_type.value !== 'manual') {
// $scope.pathRequired = false;
// $scope.scmRequired = true;
// } else {
// $scope.pathRequired = true;
// $scope.scmRequired = false;
// }
master.notification_type = $scope.notification_type;
CreateSelect2({
element: '#notifier_notification_type',
@@ -135,7 +126,6 @@ export default
$scope.formSave = function(){
var params,
// config,
v = $scope.notification_type.value;
generator.clearApiErrors();