diff --git a/awx/ui/static/js/helpers/Hosts.js b/awx/ui/static/js/helpers/Hosts.js index 9ac93f702d..0651a7345a 100644 --- a/awx/ui/static/js/helpers/Hosts.js +++ b/awx/ui/static/js/helpers/Hosts.js @@ -100,7 +100,9 @@ angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'H job = jobs[j]; html += "\n"; html += "" + job.id + "\n"; - html += "\n"; html += "Events " + "Hosts\n"; diff --git a/awx/ui/static/less/ansible-ui.less b/awx/ui/static/less/ansible-ui.less index fc9f39a008..3ecbedd927 100644 --- a/awx/ui/static/less/ansible-ui.less +++ b/awx/ui/static/less/ansible-ui.less @@ -207,7 +207,7 @@ textarea { } .tooltip { - z-index: 1050; + z-index: 2050; opacity: 1.0; } diff --git a/awx/ui/static/lib/ansible/directives.js b/awx/ui/static/lib/ansible/directives.js index efaa5b7f87..e92251dddf 100644 --- a/awx/ui/static/lib/ansible/directives.js +++ b/awx/ui/static/lib/ansible/directives.js @@ -252,10 +252,8 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Job if (attrs.tipWatch) { // Add dataTipWatch: 'variable_name' - console.log('adding watch'); scope.$watch(attrs.tipWatch, function(newVal, oldVal) { if (newVal !== oldVal) { - console.log('switch'); // Where did fixTitle come frome?: // http://stackoverflow.com/questions/9501921/change-twitter-bootstrap-tooltip-content-on-click $(element).tooltip('hide').attr('data-original-title', newVal).tooltip('fixTitle'); @@ -293,7 +291,12 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Job // remove lingering popover
. Seems to be a bug in TB3 RC1 $(this).remove(); }); - $(this).tooltip('hide'); // hide a tooltip, if there is one associated with the element + + $('.tooltip').each( function() { + // close any lingering tool tipss + $(this).hide(); + }); + $(this).popover('toggle'); $('.popover').each(function() {