diff --git a/awx/ui/static/js/shared/prompt-dialog.js b/awx/ui/static/js/shared/prompt-dialog.js index 96f0308fbe..d083045a60 100644 --- a/awx/ui/static/js/shared/prompt-dialog.js +++ b/awx/ui/static/js/shared/prompt-dialog.js @@ -28,8 +28,8 @@ export default angular.module('PromptDialog', ['Utilities', 'sanitizeFilter']) - .factory('Prompt', ['$sce', '$filter', - function ($sce, $filter) { + .factory('Prompt', [ + function () { return function (params) { var dialog = angular.element(document.getElementById('prompt-modal')),