From aab8125fcba4b445b1fea78549dcb9467da881e8 Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Mon, 30 Jun 2014 18:08:58 -0400 Subject: [PATCH] Inventory Fixed inventory edit dialog not showing on inventory tab. --- awx/ui/static/js/helpers/inventory.js | 2 +- awx/ui/static/partials/inventories.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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