mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 06:01:25 -03:30
Typo fix
This commit is contained in:
parent
c6ec38c621
commit
4f20ffb328
@ -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');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user