From 2a5f90428373aba599752722280d8c3b0036278b Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Tue, 3 Feb 2015 14:33:42 -0500 Subject: [PATCH] Adding extra dependency reference for awToolTip the awToolTip directive has a dependency on the $sce (context escaping) service, and I had incorrectly defined this reference in an earlier commit. --- awx/ui/static/lib/ansible/directives.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.