mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Update job_template param naming. Fixes error thrown on transition from job template add => edit state. @NoIssue
This commit is contained in:
parent
99eb7ff02b
commit
53760be4ae
@ -280,7 +280,7 @@
|
||||
|
||||
|
||||
function saveCompleted(id) {
|
||||
$state.go('templates.editJobTemplate', {id: id}, {reload: true});
|
||||
$state.go('templates.editJobTemplate', {job_template_id: id}, {reload: true});
|
||||
}
|
||||
|
||||
if ($scope.removeTemplateSaveSuccess) {
|
||||
@ -426,7 +426,7 @@
|
||||
try {
|
||||
for (fld in form.fields) {
|
||||
if (form.fields[fld].type === 'select' &&
|
||||
fld !== 'playbook') {
|
||||
fld !== 'playbook' && $scope[fld]) {
|
||||
data[fld] = $scope[fld].value;
|
||||
}
|
||||
else if(form.fields[fld].type === 'checkbox_group') {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user