From 48853b65949daae63da33af6ff308097da93e8b8 Mon Sep 17 00:00:00 2001 From: chouseknecht Date: Sun, 28 Jul 2013 08:13:53 -0400 Subject: [PATCH] AC-297 Fixed. Organization on Inventory detail page is now properly required by the UI. Added the awRequiredWhen directive to cure. --- awx/ui/static/js/forms/Inventories.js | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/ui/static/js/forms/Inventories.js b/awx/ui/static/js/forms/Inventories.js index 99402553d1..b26742ccf6 100644 --- a/awx/ui/static/js/forms/Inventories.js +++ b/awx/ui/static/js/forms/Inventories.js @@ -55,6 +55,7 @@ angular.module('InventoryFormDefinition', []) addRequired: true, editRequired: true, ngClick: 'lookUpOrganization()', + awRequiredWhen: {variable: "organizationrequired", init: "true" }, column: 1 }, inventory_variables: {