diff --git a/awx/ui/client/src/job-detail/host-event/host-event.route.js b/awx/ui/client/src/job-detail/host-event/host-event.route.js index 6ba3b54626..e734b641cf 100644 --- a/awx/ui/client/src/job-detail/host-event/host-event.route.js +++ b/awx/ui/client/src/job-detail/host-event/host-event.route.js @@ -11,7 +11,7 @@ var hostEventModal = { url: '/task/:taskId/host-event/:eventId', controller: 'HostEventController', templateUrl: templateUrl('job-detail/host-event/host-event-modal'), - abtract: true, + 'abstract': true, resolve: { hostEvent: ['JobDetailService','$stateParams', function(JobDetailService, $stateParams) { return JobDetailService.getRelatedJobEvents($stateParams.id, { @@ -19,7 +19,7 @@ var hostEventModal = { }).then(function(res){ return res.data.results[0];}); }] }, - onExit: function(){ + onExit: function() { // close the modal // using an onExit event to handle cases where the user navs away using the url bar / back and not modal "X" $('#HostEvent').modal('hide');