mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02: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:
@@ -234,7 +234,7 @@ function ListTemplatesController(
|
|||||||
dismissButton: false,
|
dismissButton: false,
|
||||||
dismissOnTimeout: true
|
dismissOnTimeout: true
|
||||||
});
|
});
|
||||||
$state.go('.', null, { reload: true });
|
refreshTemplates();
|
||||||
})
|
})
|
||||||
.catch(createErrorHandler('copy job template', 'POST'))
|
.catch(createErrorHandler('copy job template', 'POST'))
|
||||||
.finally(() => Wait('stop'));
|
.finally(() => Wait('stop'));
|
||||||
@@ -264,7 +264,7 @@ function ListTemplatesController(
|
|||||||
dismissButton: false,
|
dismissButton: false,
|
||||||
dismissOnTimeout: true
|
dismissOnTimeout: true
|
||||||
});
|
});
|
||||||
$state.go('.', null, { reload: true });
|
refreshTemplates();
|
||||||
})
|
})
|
||||||
.catch(createErrorHandler('copy workflow', 'POST'))
|
.catch(createErrorHandler('copy workflow', 'POST'))
|
||||||
.finally(() => Wait('stop'));
|
.finally(() => Wait('stop'));
|
||||||
|
|||||||
Reference in New Issue
Block a user