1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

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:
Jared Tabor 2018-05-10 13:30:10 -07:00 committed by GitHub
commit 669b40a3e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,6 +211,7 @@ function ListTemplatesController(
.then(model => model.extend('get', 'copy'))
.then(model => {
const action = () => {
$('#prompt-modal').modal('hide');
Wait('start');
model.copy()
.then(({ id }) => {