mirror of
https://github.com/ansible/awx.git
synced 2026-08-04 03:50:01 -02:30
AC-378 fixed broken pop-over. Using 'esc' to close now workd correctly.
This commit is contained in:
@@ -490,8 +490,10 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies'])
|
||||
html += (field.readonly) ? "readonly " : "";
|
||||
html += (field.awRequiredWhen) ? "data-awrequired-init=\"" + field.awRequiredWhen.init + "\" aw-required-when=\"" +
|
||||
field.awRequiredWhen.variable + "\" " : "";
|
||||
html += ">\n";
|
||||
html += "<option value=\"\">Choose " + field.label + "</option>\n";
|
||||
html += ">\n";
|
||||
html += "<option value=\"\">";
|
||||
html += (field.defaultOption) ? field.defaultOption : "Choose " + field.label;
|
||||
html += "</option>\n";
|
||||
html += "</select>\n";
|
||||
// Add error messages
|
||||
if ( (options.mode == 'add' && field.addRequired) || (options.mode == 'edit' && field.editRequired) ) {
|
||||
|
||||
Reference in New Issue
Block a user