diff --git a/awx/ui/static/js/forms/Hosts.js b/awx/ui/static/js/forms/Hosts.js index e056811ed1..eee79408ca 100644 --- a/awx/ui/static/js/forms/Hosts.js +++ b/awx/ui/static/js/forms/Hosts.js @@ -30,7 +30,7 @@ angular.module('HostFormDefinition', []) "", dataTitle: 'Host Name', dataPlacement: 'right', - dataContainer: '#form-modal .modal-content' + dataContainer: 'body' }, description: { label: 'Description', @@ -48,7 +48,7 @@ angular.module('HostFormDefinition', []) "are part of an external inventory, this flag cannot be changed. It will be set by the inventory sync process.

", dataTitle: 'Host Enabled', dataPlacement: 'right', - dataContainer: '#form-modal .modal-content', + dataContainer: 'body', ngDisabled: 'has_inventory_sources == true' }, variables: { @@ -68,7 +68,7 @@ angular.module('HostFormDefinition', []) '

View YAML examples at docs.ansible.com

', dataTitle: 'Host Variables', dataPlacement: 'right', - dataContainer: '#form-modal .modal-content' + dataContainer: 'body' }, inventory: { type: 'hidden', @@ -78,6 +78,7 @@ angular.module('HostFormDefinition', []) }, buttons: { //for now always generates