diff --git a/awx/ui/static/lib/ansible/directives.js b/awx/ui/static/lib/ansible/directives.js index 51b79bf818..7d6318fbb9 100644 --- a/awx/ui/static/lib/ansible/directives.js +++ b/awx/ui/static/lib/ansible/directives.js @@ -390,7 +390,7 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Job * Include the standard TB data-XXX attributes to controll a tooltip's appearance. We will * default placement to the left and delay to the config setting. */ - .directive('awToolTip', function($sce) { + .directive('awToolTip', ['$sce', function($sce) { return function(scope, element, attrs) { var delay = (attrs.delay !== undefined && attrs.delay !== null) ? attrs.delay : ($AnsibleConfig) ? $AnsibleConfig.tooltip_delay : {show: 500, hide: 100}, placement; @@ -433,7 +433,7 @@ angular.module('AWDirectives', ['RestServices', 'Utilities', 'AuthService', 'Job }); } }; - }) + }]) /* * This is a copy of awToolTip currently.