diff --git a/awx/ui/static/js/helpers/inventory.js b/awx/ui/static/js/helpers/inventory.js index 1b5bf4cbee..6858aa497c 100644 --- a/awx/ui/static/js/helpers/inventory.js +++ b/awx/ui/static/js/helpers/inventory.js @@ -164,7 +164,7 @@ angular.module('InventoryHelper', ['RestServices', 'Utilities', 'OrganizationLis Rest.setUrl(defaultUrl + scope.inventory_id + '/'); Rest.put(data) .success(function (data) { - if (scope.inventory_variables) { + if (scope.variables) { scope.$emit('UpdateInventoryVariables', data); } else { scope.$emit('InventorySaved'); diff --git a/awx/ui/static/partials/inventories.html b/awx/ui/static/partials/inventories.html index 833ea5bcce..f9235fa1e2 100644 --- a/awx/ui/static/partials/inventories.html +++ b/awx/ui/static/partials/inventories.html @@ -1,4 +1,5 @@
+
\ No newline at end of file