From b28409c1c70c853b91d0f7ebeab619a1f9cb2ea8 Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Mon, 18 Mar 2019 16:17:19 -0400 Subject: [PATCH] fix saving inventory variables --- .../inventories/standard-inventory/inventory.form.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/awx/ui/client/src/inventories-hosts/inventories/standard-inventory/inventory.form.js b/awx/ui/client/src/inventories-hosts/inventories/standard-inventory/inventory.form.js index 48b1d66ddd..12dec6fab6 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/standard-inventory/inventory.form.js +++ b/awx/ui/client/src/inventories-hosts/inventories/standard-inventory/inventory.form.js @@ -66,15 +66,14 @@ function(i18n) { dataContainer: 'body', control: '', }, - inventory_variables: { - // realName: 'variables', - root: 'inventory', + variables: { + root: 'variables', label: i18n._('Variables'), type: 'code_mirror', class: 'Form-formGroup--fullWidth', // rows: 6, // "default": "---", - variables: 'inventory_variables', + variables: 'variables', awPopOver: i18n._('Enter inventory variables using either JSON or YAML syntax. Use the radio button to toggle between the two. Refer to the Ansible Tower documentation for example syntax.'), // dataTitle: i18n._('Variables'), // dataPlacement: 'right',