mirror of
https://github.com/ansible/awx.git
synced 2026-01-28 23:04:41 -03:30
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.
This commit is contained in:
parent
ac7eeb7bd3
commit
2a5f904283
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user