diff --git a/awx/ui/static/js/lists/InventoryGroups.js b/awx/ui/static/js/lists/InventoryGroups.js index 609323f001..cf8691f1b3 100644 --- a/awx/ui/static/js/lists/InventoryGroups.js +++ b/awx/ui/static/js/lists/InventoryGroups.js @@ -23,6 +23,7 @@ angular.module('InventoryGroupsDefinition', []) label: 'Groups', key: true, ngClick: "showHosts(group.id,group.group_id, false)", + columnClick: "showHosts(group.id,group.group_id, false)", ngClass: "group.selected_class", hasChildren: true, columnClass: 'col-lg-9 col-md-9 col-sm-7 col-xs-7', diff --git a/awx/ui/static/lib/ansible/generator-helpers.js b/awx/ui/static/lib/ansible/generator-helpers.js index ccc709e6ce..99c460f0db 100644 --- a/awx/ui/static/lib/ansible/generator-helpers.js +++ b/awx/ui/static/lib/ansible/generator-helpers.js @@ -461,6 +461,7 @@ angular.module('GeneratorHelpers', ['GeneratorHelpers']) "(" + list.iterator + ".id)\"" : ""; html += (field.columnShow) ? Attr(field, 'columnShow') : ""; html += (field.ngBindHtml) ? "ng-bind-html=\"" + field.ngBindHtml + "\" " : ""; + html += (field.columnClick) ? "ng-click=\"" + field.columnClick + "\" " : ""; html += ">\n"; // Add ngShow