mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 13:11:19 -03:30
Merge pull request #3086 from kialam/fix-3081-duplicate-template-expanded
Fix expanded view not persisting when a user copies a JT/WF. Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
commit
b64d401e74
@ -234,7 +234,7 @@ function ListTemplatesController(
|
||||
dismissButton: false,
|
||||
dismissOnTimeout: true
|
||||
});
|
||||
$state.go('.', null, { reload: true });
|
||||
refreshTemplates();
|
||||
})
|
||||
.catch(createErrorHandler('copy job template', 'POST'))
|
||||
.finally(() => Wait('stop'));
|
||||
@ -264,7 +264,7 @@ function ListTemplatesController(
|
||||
dismissButton: false,
|
||||
dismissOnTimeout: true
|
||||
});
|
||||
$state.go('.', null, { reload: true });
|
||||
refreshTemplates();
|
||||
})
|
||||
.catch(createErrorHandler('copy workflow', 'POST'))
|
||||
.finally(() => Wait('stop'));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user