Removed scan job type logic for store_facts

This commit is contained in:
Michael Abashian 2017-05-08 10:06:27 -04:00
parent 4721805b4b
commit 5628a0737d
2 changed files with 1 additions and 6 deletions

View File

@ -332,8 +332,7 @@ function(NotificationsList, CompletedJobsList, i18n) {
dataTitle: i18n._('Store Ansible Facts'),
dataContainer: "body",
labelClass: 'stack-inline',
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)',
ngShow: "!job_type.value || job_type.value === 'run'"
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
}]
},
callback_url: {

View File

@ -413,10 +413,6 @@
$scope.survey_enabled = false;
}
if($scope.job_type.value !== "run") {
$scope.store_facts = null;
}
generator.clearApiErrors($scope);
Wait('start');