mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
UI Automation Assistance
Added ID attribute to lookup button found in form field input-groups.
This commit is contained in:
parent
8d46e206a8
commit
b5d3472c30
@ -1118,7 +1118,7 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'Utilities', 'ListGenerator
|
||||
html += "<span class=\"input-group-btn\">\n";
|
||||
html += "<button type=\"button\" class=\"lookup-btn btn btn-default\" " + this.attr(field, 'ngClick');
|
||||
html += (field.readonly || field.showonly) ? " disabled " : "";
|
||||
html += "><i class=\"fa fa-search\"></i></button>\n";
|
||||
html += "id=\"" + fld + "-lookup-btn\"><i class=\"fa fa-search\"></i></button>\n";
|
||||
html += "</span>\n";
|
||||
html += "<input type=\"text\" class=\"form-control input-medium lookup\" ";
|
||||
html += "ng-model=\"" + field.sourceModel + '_' + field.sourceField + "\" ";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user