From f5e7b6ab6b6743495912d5a3dfe4a6947c074dee Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Wed, 5 Aug 2015 13:14:58 -0700 Subject: [PATCH] Fix issue with lookup "Select" button --- awx/ui/client/src/helpers/Lookup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/helpers/Lookup.js b/awx/ui/client/src/helpers/Lookup.js index 576088d88b..0b92d43d75 100644 --- a/awx/ui/client/src/helpers/Lookup.js +++ b/awx/ui/client/src/helpers/Lookup.js @@ -3,7 +3,7 @@ * * All Rights Reserved *************************************************/ - + /** * @ngdoc function @@ -244,7 +244,7 @@ export default scope.selectAction = function () { var i, found = false; for (i = 0; i < scope[list.name].length; i++) { - if (scope[list.name][i].checked === '1' || scope[list.name][i].checked===1) { + if (scope[list.name][i].checked === '1' || scope[list.name][i].checked===1 || scope[list.name][i].checked === true) { found = true; parent_scope[field] = scope[list.name][i].id; if (parent_scope[form.name + '_form'] && form.fields[field] && form.fields[field].sourceModel) {