mirror of
https://github.com/ansible/awx.git
synced 2026-05-12 03:47:36 -02:30
Typo fix
This commit is contained in:
@@ -11,7 +11,7 @@ var hostEventModal = {
|
|||||||
url: '/task/:taskId/host-event/:eventId',
|
url: '/task/:taskId/host-event/:eventId',
|
||||||
controller: 'HostEventController',
|
controller: 'HostEventController',
|
||||||
templateUrl: templateUrl('job-detail/host-event/host-event-modal'),
|
templateUrl: templateUrl('job-detail/host-event/host-event-modal'),
|
||||||
abtract: true,
|
'abstract': true,
|
||||||
resolve: {
|
resolve: {
|
||||||
hostEvent: ['JobDetailService','$stateParams', function(JobDetailService, $stateParams) {
|
hostEvent: ['JobDetailService','$stateParams', function(JobDetailService, $stateParams) {
|
||||||
return JobDetailService.getRelatedJobEvents($stateParams.id, {
|
return JobDetailService.getRelatedJobEvents($stateParams.id, {
|
||||||
@@ -19,7 +19,7 @@ var hostEventModal = {
|
|||||||
}).then(function(res){ return res.data.results[0];});
|
}).then(function(res){ return res.data.results[0];});
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
onExit: function(){
|
onExit: function() {
|
||||||
// close the modal
|
// close the modal
|
||||||
// using an onExit event to handle cases where the user navs away using the url bar / back and not modal "X"
|
// using an onExit event to handle cases where the user navs away using the url bar / back and not modal "X"
|
||||||
$('#HostEvent').modal('hide');
|
$('#HostEvent').modal('hide');
|
||||||
|
|||||||
Reference in New Issue
Block a user