Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathankingfc committed Dec 9, 2020
1 parent 6965344 commit 2036074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/directives/ui/repository-events-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ angular.module('quay').directive('repositoryEventsTable', function () {
'isEnabled': '=isEnabled'
},
controller: function($scope, $element, $timeout, ApiService, Restangular, UtilService,
ExternalNotificationData, $location, StateService, DocumentationService) {
ExternalNotificationData, $location, StateService, DocumentationService, $sanitize) {
$scope.canCreateNotification = function() {
return StateService.inReadOnlyMode()
? false
Expand Down Expand Up @@ -122,7 +122,7 @@ angular.module('quay').directive('repositoryEventsTable', function () {
dom.setAttribute('readonly', 'readonly');

bootbox.dialog({
'title': (notification.title || 'Notification') + ' ' + field,
'title': ($sanitize(notification.title) || 'Notification') + ' ' + field,
'message': dom.outerHTML,
'buttons': {
"Done": {
Expand Down

0 comments on commit 2036074

Please sign in to comment.