diff --git a/awx/ui/client/src/forms/Source.js b/awx/ui/client/src/forms/Source.js index 84cb53e90a..0246f39cab 100644 --- a/awx/ui/client/src/forms/Source.js +++ b/awx/ui/client/src/forms/Source.js @@ -3,7 +3,7 @@ * * All Rights Reserved *************************************************/ - + /** * @ngdoc function * @name forms.function:Source @@ -108,14 +108,14 @@ export default "
If blank, all groups above are created except Instance ID.
", dataContainer: 'body' }, - source_script: { + inventory_script: { label : "Custom Inventory Script", labelClass: 'prepend-asterisk', type: 'lookup', ngShow: "source && source.value === 'custom'", - sourceModel: 'source_script', + sourceModel: 'inventory_script', sourceField: 'name', - ngClick: 'lookUpSource_script()' , + ngClick: 'lookUpInventory_script()' , addRequired: false, editRequired: false, ngRequired: "source && source.value === 'custom'", diff --git a/awx/ui/client/src/helpers/Groups.js b/awx/ui/client/src/helpers/Groups.js index dbbb038356..9ae9fd138b 100644 --- a/awx/ui/client/src/helpers/Groups.js +++ b/awx/ui/client/src/helpers/Groups.js @@ -290,7 +290,7 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', listGenerator.name form: form, hdr: "Select Custom Inventory", list: inventoryScriptsListObject, - field: 'source_script', + field: 'inventory_script', input_type: 'radio' }); scope.extra_vars = (Empty(scope.source_vars)) ? "---" : scope.source_vars;