mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 20:00:43 -03:30
fixing management_jobs routes
This commit is contained in:
parent
e6040371b7
commit
d35fd089be
@ -252,7 +252,8 @@ export default
|
||||
|
||||
scope.configureSchedule = function() {
|
||||
$state.transitionTo('managementJobsSchedule', {
|
||||
management_job: this.configure_job.id
|
||||
management_job: this.configure_job,
|
||||
management_job_id: this.configure_job.id
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@ -58,7 +58,7 @@ export default [
|
||||
}
|
||||
$scope.removeChoicesReady = $scope.$on('choicesReady', function() {
|
||||
// Load the parent object
|
||||
id = $stateParams.management_job;
|
||||
id = $stateParams.management_job_id;
|
||||
url = GetBasePath('system_job_templates') + id + '/';
|
||||
Rest.setUrl(url);
|
||||
Rest.get()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user