From 283e4a2a9634d79cd955b8cc93e6b29cc3dba577 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Mon, 15 Dec 2014 16:39:21 -0500 Subject: [PATCH] Custom inventory scripts required on source modal custom inventory scripts needs to be required when on the source modal screen --- awx/ui/static/js/forms/Source.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/static/js/forms/Source.js b/awx/ui/static/js/forms/Source.js index 92a4b2ba01..2e858181e5 100644 --- a/awx/ui/static/js/forms/Source.js +++ b/awx/ui/static/js/forms/Source.js @@ -113,8 +113,8 @@ angular.module('SourceFormDefinition', []) sourceModel: 'source_script', sourceField: 'name', ngClick: 'lookUpCustom_inventory()', - addRequired: false, - editRequired: false + addRequired: true, + editRequired: true }, extra_vars: { label: 'Environment Variables', //"{{vars_label}}" ,