mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
fixing management_jobs routes
This commit is contained in:
@@ -252,7 +252,8 @@ export default
|
|||||||
|
|
||||||
scope.configureSchedule = function() {
|
scope.configureSchedule = function() {
|
||||||
$state.transitionTo('managementJobsSchedule', {
|
$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() {
|
$scope.removeChoicesReady = $scope.$on('choicesReady', function() {
|
||||||
// Load the parent object
|
// Load the parent object
|
||||||
id = $stateParams.management_job;
|
id = $stateParams.management_job_id;
|
||||||
url = GetBasePath('system_job_templates') + id + '/';
|
url = GetBasePath('system_job_templates') + id + '/';
|
||||||
Rest.setUrl(url);
|
Rest.setUrl(url);
|
||||||
Rest.get()
|
Rest.get()
|
||||||
|
|||||||
Reference in New Issue
Block a user