mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
Merge pull request #1751 from jaredevantabor/1662-copy-prompt
Removes prompt modal after clicking the action button on the copy prompt
This commit is contained in:
@@ -211,6 +211,7 @@ function ListTemplatesController(
|
|||||||
.then(model => model.extend('get', 'copy'))
|
.then(model => model.extend('get', 'copy'))
|
||||||
.then(model => {
|
.then(model => {
|
||||||
const action = () => {
|
const action = () => {
|
||||||
|
$('#prompt-modal').modal('hide');
|
||||||
Wait('start');
|
Wait('start');
|
||||||
model.copy()
|
model.copy()
|
||||||
.then(({ id }) => {
|
.then(({ id }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user