1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00

Clicking anywhere on Group name column now selects the row on Inventory detail page.

This commit is contained in:
Chris Houseknecht 2014-03-19 13:42:37 -04:00
parent bf19b76d5a
commit 7147a9ccf9
2 changed files with 2 additions and 0 deletions

View File

@ -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',

View File

@ -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